react-native-google-signin/google-signin

uncaught error: RN GoogleSignin native module is not correctly linked

Closed this issue · 3 comments

zVM9tvB3Gd

uncaught error on GoogleSignin.configure
GoogleSignin.configure({ androidClientId: CLIENT_ID, });
... not correctly linked..

how can i use the library ?
i ve read here here and here, but cannot find a solution.

ist this library for sponsor only ?

env
"react": "18.2.0",
"react-native": "0.74.1",
"expo": "~51.0.4",
"@react-native-google-signin/google-signin": "^11.0.1",

I went through the same issue a couple of days ago. You need to switch your application from Expo to React Native Cli. Here's how you can do it:

For Android:
npm run android

For iOS:
npm run ios

Let me know how it goes.

I went through the same issue a couple of days ago. You need to switch your application from Expo to React Native Cli. Here's how you can do it:

For Android: npm run android

For iOS: npm run ios

Let me know how it goes.

hi, thank for your feedback..
is it npm run android same as npx expo run:android ?
because i've got this error on npm run android
zVM9tvB3Gd

i've manage to make it run using :
npx expo run:android

anyway, can anyone to guide me, what is the different of :

  • npm run android
  • npx expo run:android
  • npm run start

any feedback will appreciate