While implementing twitter signin in react native with react-native-twitter-signin I have followed all steps from the documentation but I am not receiving user object in then() method. It throws an error in catch block. The error is following
Error: { NativeMap: {"email":"COULD_NOT_FETCH","userName":"osamaaer05","userID":"13540882326114024","name":"osamaeer05","authTokenSecret":"nymvUWPAnBnvvhfhbQ1IU1ojETUuJWvq01VCiLOZDn9","authToken":"1354088232611414024-425rd6PMkdQVk1YrP1gAiiBuwpc9"} }
If email is not required replace the function in node_modules/@react-native-twitter-signin/twitter-signin/android/src/main/java/com/rntwittersignin/twittersignin/TwitterSigninModule.java