Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

App using live reload server when no live reload flag was passed?

$
0
0

@ashleylaverick1 wrote:

I am looking to run my app on and android device/emulator.

I do Ionic run android and run it in android studio as per.

When it loads on the device, there is the below toast:

image

My understanding is that it should be using the device localhost? Why isn’t it?

I looked into the capacitor config json and see this:

{
  "appId": "io.ionic.starter",
  "appName": "MyApp",
  "bundledWebRuntime": false,
  "npmClient": "npm",
  "webDir": "www",
  "cordova": {
    "preferences": {
      "ScrollEnabled": "false",
      "android-minSdkVersion": "19",
      "BackupWebStorage": "none",
      "SplashMaintainAspectRatio": "true",
      "FadeSplashScreenDuration": "300",
      "SplashShowOnlyFirstTime": "false",
      "SplashScreen": "screen",
      "SplashScreenDelay": "3000"
    }
  },
  "server": {
    "url": "http://192.168.0.15:8100",
    "cleartext": true
  }
}

My understanding from the capacitor docs is the “url” is used for an external server, i.e. live reload?

As a result, I cant run my app and get this:

Any help would be much appreciated!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>