Skip to content

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

@kibria91

Description

@kibria91

Is there an existing issue for this?

  • I have searched the existing issues

Is there a StackOverflow question about this issue?

  • 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

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions