Need Help: Splashscreen for android 12 using Vue/Capacitor #8169
Unanswered
Christoph33444
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building a Vue/Capacitor app that allows users to input data and generate a PDF. It's a single-page app with 10 input fields, and it's being tested on an emulator via Android Studio.
The issue I'm facing is with the splash screen behavior on Android 12+. When launching the app, I see two splash screens:
The first splash screen shows the app icon centered on a colored background — I believe this is the Android 12 system splash.
After about 10 seconds, it transitions to a completely white screen that lasts another 6–10 seconds before the app finally loads.
I want to remove the second white screen entirely and have the Android 12 splash until the app is ready. The app doesn't use network and should load quickly, so this delay seems excessive.
Here’s my current setup:
AndroidManifest:
`
type
`
Styles.xml:
`
`
MainActivity.java:
`package.com.begginer1app
import android.os.Bundle;
import com.getcapacitor.BridgeActivity;
public class MainActivity extends BridgeActivity {
@OverRide
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
}
`
Beta Was this translation helpful? Give feedback.
All reactions