nowinandroid icon indicating copy to clipboard operation
nowinandroid copied to clipboard

[Bug]: Pressing system back button causes app crash when using Splash Screen API

Open kibria91 opened this issue 7 months ago • 1 comments

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

kibria91 avatar Apr 28 '25 09:04 kibria91