Closed NataliiaRybalka closed 7 months ago
Same
How are you running the app? You can get this error if you're using Expo Go.
The module @react-native-google-signin/google-signin works only with running npx react-native start
. For expo I used the module expo-auth-session.
The module @react-native-google-signin/google-signin works only with running
npx react-native start
. For expo I used the module expo-auth-session.
Google signin with expo-auth-session is Deprecated. The expo docs recommend use @react-native-google-signin/google-signin.
:tada: This issue has been resolved in version 10.1.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
I have a react-native project. I want to add Google auth. I have this modules: "@react-native-google-signin/google-signin": "^10.1.0", "@react-native-firebase/app": "^18.6.1" And this code:
In android/build.gradle I added:
In android/app/build.gradle I added:
After that, when I start the app I have the error "TypeError: Cannot read property 'SIGN_IN_CANCELLED' of null, js engine: hermes". App can not even start. Please, help me to resolve it!