Database not showing when running on device

Hello everyone !

i just ran my ionic app on my Samsung note 8 (if it matters), however everything related to the database doesn’t work.

I used this:

export class sharelink
{
   Link:String;

  constructor()
 {
   // this.Link='http:localhost:10080/ionic/';
    this.Link='http://192.168.0.102:10080/ionic/';
 }

  getLink()
  {
    return this.Link;
  }
 }

I don’t know what I did wrong. Any Ideas??

Thank you!

Perhaps I’m just slow, but what does your sharelink class have to do with a database?

because i’m on a localhost, I need to be on the same IP address

Well, alright.

What are you using for a database then?

i’m using PHPmyadmin