Ionic View & Ionic Build issue


#1

Hi!
I’ve been working on an app for my college. Here’s the thing; when I open the app through Ionic View, it works fine. When I open the APK in my Android, the content from the API never returns and the splash screen isn’t displaying anymore (some builds before it was working).

Ionic View:


#2

Android APK:


#3

What Cordova version are you using?


#4

$ cordova -v
5.1.1

$ cordova platform version android
Installed platforms: android 4.0.2


#5

One last question, because you’re using Cordova 5+ version, have you whitelisted your remote API content?

For more information read this article: http://www.gajotres.net/whitelist-external-resources-and-api-calls-ionic-framework/


#6

Hey, it worked for load content! However, the splashscreen still missing.

Thanks!


#7

Great, one done, one more to go :smile:

Take a look at this link: http://stackoverflow.com/questions/31387969/cordova-5-1-1-splashscreen-not-working

It may help you with your splash screen problem.

On the other hand, you can always try pure JavaScript solution: http://www.gajotres.net/using-views-events-to-create-javascript-pure-ionic-splash-screen/


#8

It was solved by installing the Cordova plugin. It seems strange that have been deleted.


#9

Congrats, I hope you won’t come back soon :wink: