1) Downloaded both Latest and Android Example from the Formidable Git hub page
2) Creating a fresh App using React-native (both Cli and Expo)
3)Followed all instruction for Android Installation and Setup (few times)
4) Tried different phones and versions
5) Tried Linking and unlinking numerous times.
6) Finally got the App running but as soon as clicking on Authorize red button I get "Failed to Login , Null is not an object( evaluating RNappAuth.Authorize)".
7) I carried all suggestions on similar post mostly on IOS but nothing worked
8) All React and React native versions as well as AppAuth and android studio all are latest versions
Any help would really be appreciated

Hi @timeinvestgroup 馃憢 - I've just updated out Android example to RN v0.63, so I'm confident that will work. If you just clone this project, and run the app from /Examples/AndroidExample.
If you're starting a new RN project, all you need to do is
react-native init MyProject
cd MyProject
yarn add react-native-app-auth@next
Then add the redirect scheme placeholder, and finally run the app:
react-native run-android
The latest version of this library doesn't work with RN0.63 yet, but the @next version should!
Thanks very much https://github.com/kadikraman for getting back to me so quick. Really appreciate it.
I did what you suggested few times but now As soon as I click on Authorize button I get: Unfortunately AndroidExample Stop working. I tried wiping the data, Clear the cache and Cold boot the phone but getting the same message. Thanks for further help

@timeinvestgroup Hey did you ever get to the bottom of this? I am getting the same issue as you were experiencing initially.. "not an object( evaluating RNappAuth.Authorize)"
React - 16.11.0
RN - 0.61.3
App-Auth . Same issue in 4.4.0 and 5.0.0-rc3
Emualator - IOS
Same error message:
null is not an object (evaluating 'RNAppAuth.authorize')
With this config:
Any idea of what is going wrong or how to get more trace/debug infos?
I'm experiencing the same issue. Anyone got it resolved?
I'm experiencing the same issue. Anyone got it resolved?
No answer, no better experience since last release.
@kadikraman Any help welcome...
I have solved it. It turns out, the native linking was not properly set.
In Android's MainApplication.java, make sure that RNAppAuthPackage is added to the React Packages.
@Override
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new RNAppAuthPackage()
);
}
Hello !
I have the same issue and I find no solution to solve it since 2 days, so I'm posting here because I find no solution. I hope you can help me.
I always got this message :
[TypeError: null is not an object (evaluating 'RNAppAuth.authorize')]
My versions are :
Thank you very much...
Most helpful comment
@timeinvestgroup Hey did you ever get to the bottom of this? I am getting the same issue as you were experiencing initially.. "not an object( evaluating RNappAuth.Authorize)"
React - 16.11.0
RN - 0.61.3
App-Auth . Same issue in 4.4.0 and 5.0.0-rc3
Emualator - IOS