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

Ionic live reload on device issue

$
0
0

@iothemhz wrote:

I am using ionic native to build my application on android.
Sometimes when I run “ionic cordova run android --livereload” urls don’t work
and I am getting an error from the provider
{“headers”:{“normalizedNames”:{},“lazyUpdate”:null,“headers”:{}},“status”:0,“statusText”:“Unknown
Error”,“url”:null,“ok”:false,“name”:“HttpErrorResponse”,“message”:“Http failure response for (unknown url):
0 Unknown Error”,“error”:{“isTrusted”:true}}

Also a strange fact is that get always works. when I use post, or put I have the issue.

I am breaking my head to see whats wrong with it… urls seem ok no CORS issues since I am on my localhost and its the same ip. I am using config.ts to put the urls in there… Please can you tell me what I am doing wrong? I am very new to ionic.

This is my ionic info result
{ionic info
[WARN] The pro_id field in .\ionic.config.json has been deprecated.

   Ionic Pro has been renamed to Ionic Appflow! We've copied the value in pro_id to id, but you may want to unset
   the deprecated property: ionic config unset pro_id

Ionic:

ionic (Ionic CLI) : 4.12.0 (C:\Users\themhz\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.8

Cordova:

cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0
Cordova Plugins : not available

System:

Android SDK Tools : 26.1.1 (C:\Users\themhz\AppData\Local\Android\Sdk)
NodeJS : v8.11.1 (C:\Program Files\nodejs\node.exe)
npm : 6.0.0
OS : Windows 10

PS C:\xampp\htdocs\fcmsoft_m>
}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles



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