Search code examples
javascriptandroidreact-nativeappauth

Cannot read property 'authorize' of undefined react-native-app-auth


I have an error when I try the example code of this package. I watched several topics or the Github issue but no solution seems to work

https://github.com/FormidableLabs/react-native-app-auth/tree/master/Example/AndroidExample

TypeError: Cannot read property 'authorize' of undefined.


Solution

  • Solved :

    Just need to run with react-native run-android instead of react native start