Skip to content

[flutter_appauth] Fix for logout crash while app is on background #468

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

Merged
merged 1 commit into from
Jan 20, 2024

Conversation

JohnKim7
Copy link
Contributor

@JohnKim7 JohnKim7 commented Jan 19, 2024

on Android Ii user does logout and while logging out user closes the browser and go background and come back, the app crashes. It happens because flutter activity waits for intent not to be null, but it is null. We need to add null check on activity result method on Android.

Related issue: #459 (comment)

@JohnKim7 JohnKim7 changed the title [flutter_appauth]: fix for logout crash while app is on background [flutter_appauth] Fix for logout crash while app is on background Jan 19, 2024
@JohnKim7
Copy link
Contributor Author

JohnKim7 commented Jan 19, 2024

on react native version of app auth wrapper, there is such kind of null check. And as it says it prevents from app crash.

FormidableLabs/react-native-app-auth#352

@JohnKim7 JohnKim7 reopened this Jan 20, 2024
@MaikuB MaikuB merged commit f3ea801 into MaikuB:master Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants