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

Run requireAuth on UI thread #591

Merged
merged 1 commit into from
Feb 8, 2023
Merged

Run requireAuth on UI thread #591

merged 1 commit into from
Feb 8, 2023

Conversation

poovamraj
Copy link
Contributor

Changes

requireAuthentication method in Android if executed before onStart uses activity results API which needs to be run on main thread. If not run on main thread it throws an exception. To avoid this edge case we will execute the method on main thread

References

#589

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

  • This change adds unit test coverage
  • This change has been tested on the latest version of the platform/language or why not

@poovamraj poovamraj requested a review from a team as a code owner February 8, 2023 13:54
@poovamraj poovamraj enabled auto-merge (squash) February 8, 2023 14:24
@poovamraj poovamraj merged commit 733559d into master Feb 8, 2023
@poovamraj poovamraj deleted the require-auth-issue-fix branch February 8, 2023 15:04
@poovamraj poovamraj mentioned this pull request Feb 9, 2023
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