Reputation: 51
I am having an Ionic
application with Angular.js
and REST API for android platform. The API services that I am using are hosted on a cloud.
When I launch it with the Ionic serve it properly calls all services, but when I build an .apk
of that and install it in my phone (wifi is on) and open that, it does not call services. I have pointed to API services correctly because all services are properly called from browser with ionic serve.
Previously my .apk
created at "../platforms/android/ant-build/android-debug.apk" and all APIs are properly called from my phone.
But now only I am facing this issue. No my .apk
is created at
"../platforms/android/build/outputs/apk/android-debug.apk"
is ionic upgraded? and because of that i m facing this issue?
Please correct me what I missed out
Upvotes: 0
Views: 1318
Reputation: 5064
Cordova has been updated to 5.0.0 and needs whitelist plugin now.
See my post here : https://stackoverflow.com/a/30192321/3687474
Upvotes: 0