You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've stumbled into this problem today, and i've spent 4 hours straight debugging my own code, trying to understand why the init was resolving in Android but not on iOS.
I then took a look inside the plugin code...
The java implementation does indeed work correctly as a promise, while in the obj-C code the resolve parameter is never executed at all:
react-native-twitter-signin/Example/TwitterButton.js
Lines 24 to 40 in 5d57b21
react-native-twitter-signin/android/src/main/java/com/goldenowl/twittersignin/TwitterSigninModule.java
Lines 47 to 56 in 5d57b21
I am not sure, but looks like possible issue is here.
Also: better to wrap init into
try {} catch() {}
to avoid uncathed native crashesThe text was updated successfully, but these errors were encountered: