Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit 7016fcc

Browse files
Akanksha Bhardwajtimabbott
authored andcommitted
README: Expand missing Google auth setup documentation.
1 parent 946a329 commit 7016fcc

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.rst

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,17 @@ Build instructions (Android Studio)
8989
2. If you want to test Google sign in, add the required metadata:
9090
1. Go to https://developers.google.com/mobile/add?platform=android
9191
2. Type in "Zulip" as "App name" and "com.zulip.android" as
92-
"Android package name".)
93-
3. Put the generated file in the "app/" directory of the project.
94-
4. Google app id. You will also get it from the above given link.
95-
This id should be written as the following string resource in
92+
"Android package name" and continue to Choose and configure services.
93+
3. Select the "Google Sign-In" service, you'll need to provide the
94+
SHA-1 of your signing certificate. For that, first follow the manual instructions
95+
to Sign Your Release Build and generate a new Key Store
96+
if you haven't already:
97+
https://developer.android.com/studio/publish/app-signing.html#release-mode
98+
4. Use keytool to get the SHA-1 fingerprint of the certificate:
99+
``keytool -exportcert -list -v \ -alias <your-key-name> -keystore <path-to-production-keystore>``
100+
5. Put the generated file in the "app/" directory of the project.
101+
6. Get your Google app id from the Google Developer console, and
102+
add it as the following string resource in
96103
``app/src/main/res/values/strings.xml``::
97104
<string name="google_app_id">GOOGLE_APP_ID</string>
98105

0 commit comments

Comments
 (0)