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

Clearing session cookie in Android AdvancedWeView so user can logout from GoogleAccount #237

Open
wants to merge 166 commits into
base: feature/android
Choose a base branch
from

Conversation

dylan-dinh
Copy link

Purpose of the pull request

Clearing session cookies, so that when you RevokeAccess via HTTP request of the Google API + deauthorize via react-native-oauth method, you can actually logout the user from his Google Account when he wants to logout from your application as well.

Where

in react-native-oauth/android/src/main/java/io/fullstack/oauth/OAuthManagerDialogFragment.java

TODO

Didn't check it out for iOS, I can go through iOS cookies if you validate this pull request. 👍

thebradbain and others added 30 commits January 12, 2018 17:15
Added maintainers note on README
Use asynchronous execution for safariViewController
The safariViewController dispatch was occuring on another thread.
This sometimes caused app crashes when the view was presented,
in particular if the keyboard had been presented via a TextInput or
other component. The resulting crash complained about
_cachedSystemAnimationFence and the main thread. This has been with
other React Native apps that load a viewController.

Dispatching to present the viewController on the main thread fixes this
issue.
Fix error for redefinition of RCTMethodInfo
Fix: Duplicate RCTMethodInfo while building iOS app
Dispatch safariViewController on main queue
* 'master' of github.com:fullstackreact/react-native-oauth:
  Fix build issue
  Dispatch safariViewController on main queue
Changed if/else statement to avoid React error.
Fixes for Java/GSON syntax exception and  issue  #142
Merge PR 121, fix user agent, fix full screen webview
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.