Open heryTz opened 4 months ago
react-native-google-signin is not compatible with Prebuild. This plugin allows you to configure react-native-google-signin using Prebuild.
I take a look at the other Expo Config Plugins in this repo and copying their implementation.
I tested it locally
{ "expo": { "plugins": [ [ "@config-plugins/react-native-google-signin", { "serverClientId": "my_serverClientId", "iosClientId": "my_iosClientId", "iosUrlScheme": "my_iosUrlScheme" } ] ] } }
ios/[project_id]/Info.plist
...
<array> ... <dict> <key>CFBundleURLSchemes</key> <array> <string>my_iosUrlScheme</string> </array> </dict> </array>
5. Check strings.xml: `android/app/src/main/res/values/strings.xml`
7. Run `npx expo prebuild --clean`
Why
react-native-google-signin is not compatible with Prebuild. This plugin allows you to configure react-native-google-signin using Prebuild.
How
I take a look at the other Expo Config Plugins in this repo and copying their implementation.
Test Plan
I tested it locally
ios/[project_id]/Info.plist
...
...