I had a ionic app running on my android, with the icon and splash screen working perfectly, But, I added the Crosswalk for ionic and I notice that the Splash is missing, so… I try removing the platform, adding again, removing the crosswalk and adding again. etc, etc… all with the same result, I see a black screen, next a white screen and next my app, but never the splash screen. The icon is fine its only a problem of splash screen.
PH: Also try to delete the crosswalk and adding a android platform and the splash works perfectly, so I thinks is a problem of crosswalk.
@mhartington I don’t think so, the splash screen works perfectly without crosswalk, and widthout any plugin. I try adding the splashscreen plugin but its the same.
So, if my app with ionic and default cordova shows the splash screen, why when I install crosswalk the splash screen is missing?..
So in order to get crosswalk to work with cordova, we’re using a forked version of cordova-android 4.0, which isn’t released yet, and that version of cordova has some api changes.
Once api in particular is the splash screen api. With cordova-android 4.0, a lot of the logic for the splash screen is getting pulled from the core to the plugin.
Why does the splash screen work without crosswalk? Simple because when we remove crosswalk, we revert the android project back to the stable release of cordova-android.
If I’ve missed anything @jbavari1 would know best, as he is behind the crosswalk magic for ionic.
Well its not really on the ionic team, it something that cordova team will update when they push the cordova-android 4.0 update. We are awaiting this update as well.
I just updated to Ionic CLI 1.3.19 and now only a white screen is shown when my Android app loads.
I also tried to remove the Splashscreen plugin and add it again via the Github URL as suggested here.
But now my build fails with the following error:
:compileArmv7DebugJavaD:\work\kolli\platforms\android\src\org\apache\cordova\splashscreen\SplashScreen.java:307: error: package DialogInterface does not exist
new DialogInterface.OnCancelListener() {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileArmv7DebugJava'.
Do you have any idea what the problem may be?
My system information:
OS: Windows 7 Home Premium SP1
Node Version: v0.10.38
Cordova CLI: 4.3.0
Ionic Version: 1.0.0-beta.13
Ionic CLI: 1.3.19