Please try this
cordova platform rm android
cordova platform add https://github.com/apache/cordova-android.git#master
and after that in config.xml file write
Please try this
cordova platform rm android
cordova platform add https://github.com/apache/cordova-android.git#master
and after that in config.xml file write
Currently u can use
<preference name="loadUrlTimeoutValue" value="700000" />
to avoid application error.
How to avoid White Screen problem?
Sry Ankit âŚ
I tried with the previous vession too. You dont need to update the cordova to master.
add these to your config.xml.
<preference name="loadUrlTimeoutValue" value="60000" />
<preference name="AutoHideSplashScreen" value="false" />
if still you are facing issue then please share your config file.
Thanks! âloadUrlTimeoutValueâ worked!
Hi pankajsoni, the white screen between the splash screen and main page is disappeared but It will take 17 sec to load then see the main page. I use the following command âionic start testApp tutorial --v2â. why does it take so long to load? did I miss something to add?
Hi
Currently there is no fix as of now.
Once lazy loading comes into picture then it will solve the same problem.
hello, how do you fix the license Google Repository, SDK Patch Applier v1 ??? i have the same error âŚ
This worked for me:
mv platforms/android/res/{values,xml} res
rm -rf platforms/android/res
cp -r res platforms/android
ionic build android
weird that it does that by default. This is the exact issue I was encountering
Most of the solutions here donât really solve my but this âŚ
`
ionic platform remove android
ionic platform add android
ionic resources android
ionic build android
and
config.xml have this:
preference name=âSplashMaintainAspectRatioâ value=âtrueâ/>
preference name=âFadeSplashScreenDurationâ value=â300â/>
preference name=âSplashScreenâ value=âscreenâ/>
preference name=âAutoHideSplashScreenâ value=âfalseâ/>
plugin name=âcordova-plugin-splashscreenâ spec="~4.0.1"/>
and
app.component.ts
platform.ready().then(() => {
âŚ
this.hideSplashScreen();
});
hideSplashScreen() {
if (Splashscreen) {
setTimeout(() => {
Splashscreen.hide();
}, 100);
}
}
`
Thanks it work perfectlyâŚ
thanks, this work for meâŚ
i used newer version
@pankaj: I am also getting same issue taking long time to load main screen after splash. Can you please help me asap.
Did you find any solution? Iâm getting delay of 1 minute before my main page loads. Badly Stuck.
You should open new topic instead of posting in this old thread. Nobody will reply to your unrelated questions here.
Hi anjana11, yes I do have. I just upgraded ionic version.
I am facing a problem :
My splash Screen is not fitting the screen.
Size of splash is 2208 px* 2208 px.
In the splash screen I have embeded some text on the left of the image but when I run it on my device it is not showing me full splash img.
After many hours and different tries, this worked for me, thank you very much!
I did it along with below code from @reedrichards
<preference name="SplashScreenDelay" value="2000"/>
<preference name="FadeSplashScreenDuration" value="2000"/>
<preference name="SplashScreen" value="screen"/>
<preference name="ShowSplashScreenSpinner" value="false"/>
<preference name="AutoHideSplashScreen" value="false" />
me funciono el metodo, gracias