Skip to content

Commit

Permalink
chore(update-plugins): Mon Nov 27 08:05:51 UTC 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
nativescript-oss committed Nov 27, 2023
1 parent 865f746 commit 17a40ee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugins/google-signin.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ keytool -list -v \
1. [Create a Firebase project](https://firebase.google.com/docs/ios/setup#create-firebase-project)
2. [Register your app with Firebase](https://firebase.google.com/docs/ios/setup#register-app)
3. [Add a Firebase configuration file](https://firebase.google.com/docs/ios/setup#add-config-file), `GoogleService-Info.plist.` to `App_Resources/iOS/`.

3. Add the `CFBundleURLTypes` and `GIDClientID` attributes below to the `App_Resources/iOS/Info.plist` file.
4. Enter [Google Cloud](https://console.cloud.google.com/) and choose your project created from firebase. Access the Apis and Services -> Credentials section and add a new credential of type `OAuth Client ID`. In application type choose iOS. Return to the Credentials screen and enter your new key in the `OAuth 2.0 Client ID` section. Copy `Client ID` and `iOS URL Scheme` for next step.
5. Add the `CFBundleURLTypes` and `GIDClientID` attributes below to the `App_Resources/iOS/Info.plist` file.

```xml
<!-- Google Sign-in Section -->
Expand All @@ -100,14 +100,14 @@ keytool -list -v \
<key>CFBundleURLSchemes</key>
<array>
<!-- TODO Replace this value: -->
<!-- Copied from GoogleService-Info.plist key REVERSED_CLIENT_ID -->
<!-- Paste your iOS URL Scheme here -->
<string>com.googleusercontent.apps.292142294722-23nmrq9mn8rhpqipjc1bt4qecga3qgsf</string>
</array>
</dict>
</array>
<key>GIDClientID</key>
<!-- Copied from GoogleService-Info.plist key CLIENT_ID -->
<string><749673967192-c24phj29u2otpict36e71ocjo2g5i3hs.apps.googleusercontent.com/string>
<!-- Paste your Client ID here -->
<string>749673967192-c24phj29u2otpict36e71ocjo2g5i3hs.apps.googleusercontent.com</string>
<!-- End of the Google Sign-in Section -->
```

Expand Down

0 comments on commit 17a40ee

Please sign in to comment.