Database not showing when running on device


#1

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!


#2

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


#3

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


#4

Well, alright.

What are you using for a database then?


#5

i’m using PHPmyadmin