i just updated my app to Capacitor v7, and am testing it to be sure that all is good.
Being the glutton for punishment that I am, i’ve had a low bar of Android SDK v29. I’m finding that in my app initialization i need to put a delay of a couple hundred msec before I call SplashScreen.hide() or it never hides. Android SDK 33 and 35 seem just fine without it.
Anyone else seeing that? (or did I miss the part where you have to be on something > Android 11)
snippet from my AppShell.tsx
if (Capacitor.isNativePlatform()) {
setTimeout(() => { // new code as a workaround.
SplashScreen.hide(); // original code
}, 200);
} else {
// web things
}
Note, that I’m using the emulator, not a real device. I don’t have a device that old handy.