Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Some fix I have made#181

Open
raulcalvo wants to merge 3 commits into
fullstackreact:master from
raulcalvo:master
Open

Some fix I have made #181
raulcalvo wants to merge 3 commits into
fullstackreact:master from
raulcalvo:master

Conversation

@raulcalvo

@raulcalvo raulcalvo commented Nov 27, 2017

Copy link
Copy Markdown

Developing in Windows 10 - Android.

Some issues I have fixed:

  1. React native linking is broken. Issue 50
  2. Requesting more than one scope to google failed. Solved!
  3. Web authentication didn't show in mobile format. Changed user agent to mobile.

(Changes not tested in other enviorments)

daxaxelrod reacted with thumbs up emoji

@ericchan3721 ericchan3721 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better using the user's actual UserAgent and replace wv from it instead of the hard coded one
mWebView.getSettings().setUserAgentString(mWebView.getSettings().getUserAgentString().replace("; wv", ""));

Ref: https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html

P.S. I have open the PR for this issue, however this library seems no longer supported by the original author, you may consider using other OAuth RN library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@ericchan3721 ericchan3721 ericchan3721 requested changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /