-
Notifications
You must be signed in to change notification settings - Fork 20
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
Clarification on auth(tokens, callbackUrl[, options]) #2
Comments
You are probably missing the You need to add in your <activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustResize"
android:launchMode="singleTask"> <!-- THIS LINE --> This will make the browser redirect back right where you called the I hope it helps for your case. |
Seem like |
@andreyluiz I apologize for not clarifying in my post that I'm currently working on the IOS version. In my case, the problem was that I had to properly setup deep linking, and I have several plugins that handle opening urls in AppDelegate.m. I had to update the code so that they work together properly in the "openurl" method in AppDelagate.m. The plugin works for me now. |
Hi, thanks for creating issue. I'm really new to react-native and ios app building, and I do not understand how I can setup Deeplink stuff. Could you please give me some example?? Thanks for reading!! |
@KanUchida Please follow this guide: https://facebook.github.io/react-native/docs/linking.html |
Hello,
I appreciate the time you put into this module. It looks like it will be a big help on my project, but I'm confused about the use of the above method.
according to your "readme" file it returns this "
When I call "auth" in my app, it properly redirects to the twitter login page. When I authorize the app, it redirects back to the app, but the ".then" function never gets called.
My code is something like this:
let twitterAccessToken;
auth({tokens, redirectUrl}).then((accessToken)=> twitterAccessToken = accessToken);
The text was updated successfully, but these errors were encountered: