yeah, work like charm thank you bro
Could you please share your configuration for the splash screen and the fix that you have done to make it work? My app loads forever, it takes minutes to load a splash screen and then minutes with a white screen
Which version of ionic are you using?
Automatically ionic put in our config.xml this:
<preference name="SplashScreenDelay" value="0"/>
And in the plugin docs said:
To disable the splashscreen add the following preference to config.xml:
<preference name="SplashScreenDelay" value="0"/>
Then the solution is remove this line in config.xml or change value
from 0 to any value (3000 by default), note also that this value used to be seconds, and not milliseconds, so values less than 30 will still be treated as seconds. ( Consider this a deprecated patch that will disapear in some future version. )
Thanks a lot for your description!
Iām not sure what iām doing wrong, but i only see the Cordova Icon and when i opn the app i only see the Cordova splash screen, not sure what iām doing wrong, any help will be much appreciated.
Howard
@huehue found out recently that there is most probably a bug in the last version of the splash screen plugin when it goes to the icon on android
see
Hey
Yup, itās a bug in cordova-android. But itās fixed already and you can update to the latest commit on master with the following commands:
cordova platform rm android
cordova platform add https://github.com/apache/cordova-android.git#master
i see this in command, should i update?
i see this in command Warning: using prerelease platform android@6.2.0-dev.
Use ācordova platform add android@latestā to add the latest published version instead.
Now iām getting this error when i run the app to device
BUILD FAILED
Total time: 4.179 secs
A problem occurred configuring root project āandroidā.
You have not accepted the license agreements of the following SDK components:
[Google Repository, SDK Patch Applier v1].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to Exporting licenses - Android Studio Project Site
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project āandroidā.
You have not accepted the license agreements of the following SDK components:
[Google Repository, SDK Patch Applier v1].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to Exporting licenses - Android Studio Project Site
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Mess up my project now
Woohoo i got the error fixed and now iām seeing my icon and splash screen
Thank you guys.
Howard
Hi ! Did not work for me !
@Rappadappa77 how did you manage to fix this error?. . got the same error after using @latest
repo, i think this is for the signing license agreement in androidā¦
I installed ionic latest, also update my anadroid SDK, I installed the latest API and the splash screen is not displayed.
Do you have any update?
Hello @ihadeed,
I have same issue in splash screen.
I have created splash.png files
then ionic resources --splash
that created Splash images with different android screen size images
but after that problem is that splash screen image doesnt store in platforms/android/res/
so that splash screen not coming android app.
Ok, same here with latest ionic, maybe a problem with the ionic resources command ?
This is really mandatory, we donāt want to add manually our assets for slpash/icon
But, for all other, you have the res folder on root of project after use the command, and so just drag it to android res build folder to update splash/icons.
there are github issues for that:
its worked for me .but before i tried
- cordova plugin remove cordova-plugin-splashscreen
- cordova plugin add cordova-plugin-splashscreen
but no luck
Hi
You would be requiring the download the latest resources for API level 25.
for me issue is fixed.
Hi, Pankaj. Iām having the same issue - getting white blank screen. Please let me know what needs to be update or the link?