react-native-google-sign-in
react-native-google-sign-in copied to clipboard
updated the README to show newer versions of XCode, Swift and Google SDK
There's a missing item in the XCode instructions - setting the URL Type. I added instructions and screenshot for this. Also I tested with RN 0.51 and so I updated the README to show that and also listed the full environment I tested with.
@findmory , hi there, can you give me your Swift 4 version of code? I am in trouble with this Xcode and Swift versions.
This is how I made it work with Swift 4
following: https://github.com/joonhocho/react-native-google-sign-in
- react-native init googlslideshow3
- react-native install react-native-google-sign-in
- edit Xcode project to set bundle ID and Signing/provisioning profile
- add bridging header : https://mycodetips.com/ios/manually-adding-swift-bridging-header-1290.html
- install Google Sign-in without Pods https://developers.google.com/identity/sign-in/ios/sdk/
- Get Plist from: https://console.developers.google.com/apis/credentials/oauthclient.......
- Add Plist to project
- Add code to AppDelegate.m, AppDelegate.h and the bridging header (as per doc instructions)
- Run Xcode project.
@findmory, I have already done all these steps. But the original code written is swift is not compatible with version 3.3 or 4.1 within Xcode9.