react-native-oauth
react-native-oauth copied to clipboard
Handler for cancellation
Is there any way to be notified that user cancelled the authentication (eg. by clicking back key on android or Done on iOS)? So far I haven't found any way to be notified about this, the promise simply doesn't execute neither .then nor .error. What am I missing?
I tried a solution for Facebook auth on Android where I had an event listener for AppState. But going into the Facebook screen doesn't seem to change the app's state at all.