fix:(ui): splash screen crash on android 12+ devices#2499
fix:(ui): splash screen crash on android 12+ devices#2499RohitKushvaha01 wants to merge 2 commits into
Conversation
Greptile SummaryThis PR fixes the splash screen crash on Android 12+ devices by adding
Confidence Score: 5/5Safe to merge — the change is a config-only addition of splash screen preferences with no functional regressions on older Android versions. The actual crash fix (AndroidWindowSplashScreenBehavior=icon_preferred) is targeted and correct. The three extra legacy-plugin preferences are inert noise but do not break anything. No code paths, logic, or permissions are altered. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[App Launch] --> B{Android version?}
B -->|< 12| C[Legacy Cordova splash screen]
C --> D["SplashScreen=none\n(legacy plugin disabled)"]
D --> E[Splash skipped immediately]
B -->|12+| F[Android SplashScreen API]
F --> G["AndroidWindowSplashScreenBehavior\n= icon_preferred"]
G --> H[Show adaptive icon splash]
H --> I["AutoHideSplashScreen=true\nDismiss automatically"]
I --> J[MainActivity visible]
E --> J
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A[App Launch] --> B{Android version?}
B -->|< 12| C[Legacy Cordova splash screen]
C --> D["SplashScreen=none\n(legacy plugin disabled)"]
D --> E[Splash skipped immediately]
B -->|12+| F[Android SplashScreen API]
F --> G["AndroidWindowSplashScreenBehavior\n= icon_preferred"]
G --> H[Show adaptive icon splash]
H --> I["AutoHideSplashScreen=true\nDismiss automatically"]
I --> J[MainActivity visible]
E --> J
Reviews (2): Last reviewed commit: "Update config.xml" | Re-trigger Greptile |
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
|
🔴 (Workflow Trigger stopped), Your On-Demand Preview Release/build for #2499. |
No description provided.