简体   繁体   中英

Twitter signin error in react-native-twitter-signin in iOS only

I've setup react-native-twitter-signin package as like in documentation and works perfectly on Android. But I'm getting this error on iOS.

Possible Unhandled Promise Rejection (id: 1): Error: Twitter signin error. 在此处输入图片说明

Is it due to callback issue?

The problem for me was the I didn't put twitterkit-CONSUMER_KEY:// in the Twitter developer site.

  1. Go to https://developer.twitter.com/en/apps/

  2. Pick you app then press edit button on right side

  3. Edit the details, and scroll to Callback URLs

  4. Add twitterkit- (delete this and put your CONSUMER_KEY instead). It should look something like this:

     twitterkit-23232123ddskdj231jhds

    在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM