I am trying to use Azure AD B2C services in an Android app. I have installed and setup react-native-app-auth by using npm install react-native-app-auth --save and updating my android/app/build.gradle file according to these instructions.
My proof-of-concept code for using this library is as follows (which is a modified version of this example and this config combined) -
When I try to call authorize API, I get the error message in the alert box Cannot read property 'authorize' of null (screenshot below). This seems to be a duplicate of #817 (which is marked as 'solved', but the issue still continues to get similar reports from other devs). Can this be resolved? How can I debug this?
Issue
I am trying to use Azure AD B2C services in an Android app. I have installed and setup
react-native-app-auth
by usingnpm install react-native-app-auth --save
and updating myandroid/app/build.gradle
file according to these instructions.My proof-of-concept code for using this library is as follows (which is a modified version of this example and this config combined) -
When I try to call
authorize
API, I get the error message in the alert boxCannot read property 'authorize' of null
(screenshot below). This seems to be a duplicate of #817 (which is marked as 'solved', but the issue still continues to get similar reports from other devs). Can this be resolved? How can I debug this?Environment
Azure AD B2C
Android
react-native
Version:0.72.1
react-native-app-auth
Version:7.2.0
~49.0.18