Ionic View & Ionic Build issue

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:

Android APK:

What Cordova version are you using?

$ cordova -v
5.1.1

$ cordova platform version android
Installed platforms: android 4.0.2

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/

1 Like

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

Thanks!

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

Take a look at this link: android - Cordova 5.1.1 Splashscreen not working - Stack Overflow

It may help you with your splash screen problem.

On the other hand, you can always try pure JavaScript solution: Gajotres - Best Technology Product Reviews, News, Tips, and Comparison

1 Like

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

1 Like

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