Cordoba: white screen is saved on Android 5.0 (and higher)

I am working with cordova 6 to manually hide the popup using navigator.splashscreen.hide () . The application is in angular. It works great with all versions of Android below 5.0.

However, a white screen persists for Lollipop and Marshmallow .

Is there a problem with Android APIs for higher versions?

+5
source share
2 answers

Yes, and this is not a problem with angular, its a problem with incompatible versions of plug-ins and platforms, for which you need to upgrade your plug-in to a higher version or save your platform in a lower version. And the main dependency in cordova is that if you want to upgrade your platform, you need to update npm first, if you want to update your npm, you need to update node.js first.

+2
source

Actually, this is not a problem with angular, its problem with incompatible versions of plugins and platforms, for which you need to upgrade your plugin to a higher version or save your platform in a lower version.

First you need to update node and npm .

Please check the following StackOverflow solutions for updating npm and node.

1. How to update node.js?

2. How to update node.js and npm to the next versions?

For more help check here for the same type of problems.

Hope this helps you!

-1
source

All Articles