Open
Description
Bug Report
Plugin(s)
@capacitor/splash-screen ^7.0.1
@capacitor/core 7.0.1 (others listed below)
Capacitor Version
npx cap doctor
Capacitor Doctor 7.x
@capacitor/cli: 7.0.1
@capacitor/core: 7.0.1
@capacitor/android: 7.0.1
@capacitor/ios: 7.0.1
@capacitor/splash-screen: 7.0.1
System:
Node : v18.x
npm : 10.x
OS : macOS 14
Platform(s)
- Android 14 (API 34) – Redmi Note 14 Pro
- MIUI 15.0.13 (stable, 2024‑12 security patch)
- Pixel 6 (Android 14) → works
Current Behavior
On the Redmi Note 14 Pro no bitmap splash screen is displayed.
The Capacitor plugin logs “showing splash screen drawable:splash duration:3000” but only white screen appears.
Other devices show the splash correctly.
Expected Behavior
The splash image generated by @capacitor/assets
should be shown full‑screen with CENTER_CROP
before the web‑view is visible.
Other Technical Details
package.json (excerpt)
@capacitor/android 7.0.1
@capacitor/splash-screen 7.0.1
@capacitor/assets 3.0.5
@ionic/angular 8.0.0
Angular 19.0.0
- Theme uses
android:windowBackground
black only, no bitmap. - Plugin config:
SplashScreen: {
androidScaleType: 'CENTER_CROP',
launchShowDuration: 3000,
launchAutoHide: true,
splashFullScreen: true,
splashImmersive: true,
backgroundColor: '#000000'
}
Additional Context
- Possible fix: migrate plugin to Jetpack SplashScreen API or document Xiaomi workaround.