react-native-google-signin / google-signin

Google Sign-in for your React Native applications
https://react-native-google-signin.github.io/
MIT License
3.12k stars 877 forks source link

RN GoogleSignin native module is not correctly linked #1266

Closed NeuVanessa closed 2 months ago

NeuVanessa commented 3 months ago

my packeage

I have this problem when trying to add the lib to my exposure version 50

{ "name": "myapp", "version": "1.0.0", "main": "index.js", "scripts": { "start": "expo start", "android": "expo run:android", "ios": "expo run:ios", "web": "expo start --web" }, "resolutions": { "expo-constants": "15.4.0" }, "dependencies": { "@expo/vector-icons": "^14.0.0", "@expo/webpack-config": "^19.0.0", "@react-native-async-storage/async-storage": "^1.23.1", "@react-native-community/masked-view": "^0.1.11", "@react-native-community/slider": "^4.5.0", "@react-native-google-signin/google-signin": "^11.0.0", "@react-navigation/bottom-tabs": "^6.5.20", "@react-navigation/material-top-tabs": "^6.6.13", "@react-navigation/native": "^6.1.17", "@react-navigation/stack": "^6.3.29", "axios": "^1.6.8", "expo": "~50.0.14", "expo-auth-session": "^4.0.3", "expo-av": "^13.10.5", "expo-crypto": "^12.8.1", "expo-dev-client": "~2.4.12", "expo-device": "^5.9.3", "expo-font": "^11.10.3", "expo-image-picker": "~14.7.1", "expo-linear-gradient": "^12.7.2", "expo-modules-core": "^1.11.12", "expo-notifications": "^0.27.6", "expo-status-bar": "~1.11.1", "expo-web-browser": "~12.8.2", "firebase": "^10.7.2", "i": "^0.3.7", "moment": "^2.30.1", "npm": "^10.5.0", "react": "18.2.0", "react-native": "0.73.6", "react-native-gesture-handler": "~2.14.0", "react-native-linear-gradient": "^2.8.3", "react-native-magnus": "^1.0.63", "react-native-pager-view": "6.2.3", "react-native-reanimated": "~3.6.2", "react-native-safe-area-context": "4.8.2", "react-native-screens": "~3.29.0", "react-native-svg": "^15.1.0", "react-native-tab-view": "^3.5.2", "react-native-web": "^0.19.6", "react-native-webview": "13.6.4", "react-native-youtube-iframe": "2.1.1", "react-query": "^3.39.3", "socket.io-client": "^4.7.5", "styled-components": "^6.1.8" }, "devDependencies": { "@babel/core": "^7.20.0" }, "private": true } my app.json `{ "expo": { "name": "myapp", "slug": "myapp", "scheme": "myapp", "version": "1.0.0", "assetBundlePatterns": [ "*/" ], "plugins": [ [ "expo-image-picker", { "photosPermission": "The app accesses your photos to let you share them with your friends." } ], "@react-native-google-signin/google-signin" ], "android": { "googleServicesFile": "./google-services.json", "permissions": [ "android.permission.RECORD_AUDIO" ],

    "package": "com.myapp.firebasesignin"

},
"extra": {
  "eas": {
    "projectId": "f....0"
  }
}

} } `
Captura de tela 2024-04-02 144113

vonovak commented 2 months ago

Hello and thanks for asking! Please read the documentation, you shall find there what you're looking for.

Hope this helps, Thank you!