nowinandroid
nowinandroid copied to clipboard
[Bug]: Pressing system back button causes app crash when using Splash Screen API
Is there an existing issue for this?
- [x] I have searched the existing issues
Is there a StackOverflow question about this issue?
- [x] I have searched StackOverflow
What happened?
Trying to keep the splash screen for longer period with this splashScreen.setKeepOnScreenCondition { true }. App crashes, If back button is pressed, when the splash screen window is showing with icon animating. OnBackPressed callback doesn't event intercept back press, when setKeepOnScreenCondition is set true.
I have used jetpack compose and kotlin and Android version >12.
Relevant logcat output
Code of Conduct
- [x] I agree to follow this project's Code of Conduct