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

LoginPromptManager.showLoginPromptIfAbsent throws an exception #122

Open
jakub-gil opened this issue Dec 2, 2024 · 0 comments
Open

LoginPromptManager.showLoginPromptIfAbsent throws an exception #122

jakub-gil opened this issue Dec 2, 2024 · 0 comments

Comments

@jakub-gil
Copy link

We have couple hundreds of crashes with an exceptions

Fatal Exception: java.lang.IllegalStateException
FragmentManager has been destroyed

and

Fatal Exception: java.lang.IllegalStateException
Can not perform this action after onSaveInstanceState

It seems like those are thrown after fragment is stopped, and just then Client.requestLoginPrompt tries to invoke function LoginPromptManager.showLoginPromptIfAbsent. Exception is thrown at this line initializeLoginPrompt(loginPromptConfig).show(supportFragmentManager, fragmentTag).

Can you add couple checks for FragmentManager to not crash there? We implemented temporary solution, but those should be fixed at the core.

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

No branches or pull requests

1 participant