Browse Source

doc: update Google SignIn integration documentation

master
Saúl Ibarra Corretgé 6 years ago
parent
commit
6f8743af3a
1 changed files with 12 additions and 12 deletions
  1. 12
    12
      doc/mobile-google-auth.md

+ 12
- 12
doc/mobile-google-auth.md View File

@@ -1,22 +1,22 @@
1 1
 # Setting up Google Authentication
2 2
 
3 3
 - Create a Firebase project here: https://firebase.google.com/. You'll need a
4
-signed Android build for that, that can be a debug auto-signed build too, just
5
-retrieve the signing hash.
4
+signed Android build for that, that can be a debug self-signed build too, just
5
+retrieve the signing hash. The key hash of an already signed ap can be obtained
6
+as follows (on macOS): ```keytool -list -printcert -jarfile the-app.apk```
6 7
 - Place the generated ```google-services.json``` file in ```android/app```
7 8
 for Android and the ```GoogleService-Info.plist``` into ```ios/app/src``` for
8 9
 iOS (you can stop at that step, no need for the driver and the code changes they
9 10
 suggest in the wizard).
10 11
 - You may want to exclude these files in YOUR GIT config (do not exclude them in
11 12
 the ```.gitignore``` of the application itself!).
12
-- Your WEB and iOS client IDs are auto generated during the Firebase project
13
- creation. Find them in the Google Developer console:
14
- https://console.developers.google.com/
15
-- Make sure your config reflects these IDs so then the Redux state of the
16
- feature ```features/base/config``` contains variables
17
- ```googleApiApplicationClientID``` and ```googleApiIOSClientID``` with the
18
- respective values.
19
-- Add your iOS client ID as an application URL schema into
20
-```ios/app/src/Info.plist``` (replacing placeholder).
21
-- Enable YouTube API access on the developer console (see above) for live
13
+- Your web client ID is auto generated during the Firebase project
14
+ creation. Find them in the Google Developer console
15
+ (https://console.developers.google.com/)
16
+- Make sure your config reflects this ID by setting
17
+```googleApiApplicationClientID``` in config.js.
18
+- Add your iOS client ID (the REVERSED_CLIENT_ID in the plist file) as an
19
+application URL schema into ```ios/app/src/Info.plist```
20
+(replacing placeholder).
21
+- Enable YouTube API access on the developer console (see above) to enable live
22 22
 streaming.

Loading…
Cancel
Save