-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 7.4.3
@capacitor/core: 7.4.3
@capacitor/android: 7.4.3
@capacitor/ios: 7.4.3
Installed Dependencies:
@capacitor/ios: not installed
@capacitor/cli: 7.4.3
@capacitor/core: 7.4.3
@capacitor/android: 7.4.3
[success] Android looking great! 👌
Other API Details
npm --version output: 11.2.0
node --version output: v22.14.0
Platforms Affected
- iOS
- Android
- Web
Current Behavior
After making any code change (e.g., adding a simple
or variable to a component) and rebuilding/reinstalling the app, it launches to a completely blank white screen on specific Ulefone Android 14 devices (tested on Armor series) (MediaTek Helio G36 8 Core processor with com.google.android.webview version 126-140). No console errors or crashes occur—the app just fails to render any content.
Clearing the app's cache (Settings > Apps > [App] > Storage > Clear Cache) fixes it temporarily, and the app works until the next rebuild. This does not happen on other Android 14 devices (e.g., Samsung, Pixel) or emulators.
Logcat shows WebView initialization issues before cache clear. After cache clear, WebView loads cleanly, and Capacitor bridge starts successfully.
Expected Behavior
The app should load and render normally after any rebuild/install, without requiring manual cache clearing. WebView should initialize consistently across devices.
Project Reproduction
https://github.com/tiagoarroz/testes-ecra-branco
Additional Information
Steps to Reproduce
Create a new Ionic Angular tabs starter app: ionic start test-blank tabs --type=angular --capacitor.
Make a minor change, e.g., in src/app/explore-container/explore-container.component.html, add
a small change for testing {{testVariable}}
and in .ts, add testVariable = "test variable".
Build and sync: ionic build && npx cap sync android.
Open in Android Studio, build, and install APK on a Ulefone Android 14 device.
Launch the app → blank white screen.
Clear app cache → app works.
Logcat before cleaning cache
https://pastebin.com/raw/bnScJT0j
Logcat after cleaning cache
https://pastebin.com/raw/tGzf39Y3