Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(android): removes setOnExitAnimationListener when fade out is disabled #2083

Merged
merged 6 commits into from Apr 25, 2024

Conversation

ItsChaceD
Copy link
Contributor

@ItsChaceD ItsChaceD commented Apr 15, 2024

Closes #1856

This PR removes setOnExitAnimationListener when fade out is disabled to prevent crashes on OnePlus and Oppo devices on hide

This bug can also be reproduced by using a Pixel device running Android 12 by backgrounding the app during the app launch and waiting 10 seconds.

Copy link

github-actions bot commented Apr 15, 2024

Released dev build of splash-screen with dev version: 6.0.1-dev-2083-20240425T174342.0

@IT-MikeS
Copy link
Contributor

Only comment would be to also make this patch on 5.X as we'll have lots of people not on 6 for a bit

@ItsChaceD ItsChaceD merged commit 9634552 into main Apr 25, 2024
12 checks passed
@ItsChaceD ItsChaceD deleted the fix/splash-screen-hide-crash branch April 25, 2024 17:47
Capacitor Engineering ⚡️ automation moved this from Needs review 🤔 to Done 🎉 Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

@capacitor/splash-screen: Calling SplashScreen.hide() in background on Android causes crash
3 participants