After research and experimentation, this is what we had to do to make it work:
cordova plugin add org.apache.cordova.splashscreen
cordova build
Then the cord assembly added the wrong lines to the config.xml file. Therefore, we had to change it to the following:
<feature name="SplashScreen"> <param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen" /> </feature>
And in your main business
super.setIntegerProperty("splashscreen", R.drawable.splash); super.setIntegerProperty("splashScreenDelay", 10000);
Finally, we were able to use the hide method from javascript.
griffon vulture
source share