- February 8, 2020 at 4:13 pm #44133
after adding google login it wont wok
I created a firebase project
Added a project for android
added package name based off confix.xml
generated SH-1 and etc
I also placed the google service.json in those directories
Should I sign the build apk with SH key file at the end?
is there any specific tutorial for this
Please helpFebruary 10, 2020 at 12:55 pm #44191
ionic Cordova plugin add [email protected] –variable REVERSED_CLIENT_ID=com.googleusercontent.apps.sa4eup240iae2sac48kcmkb623jp0g4v-619318875199
Place the reverse client id in the google plugin login command http://prntscr.com/r06g60
ionic cordova build –release android
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore wplms.keystore app.aab wplms
C:\Users\99fus\AppData\Local\Android\Sdk\build-tools\29.0.2\zipalign.exe -v 4 app-release-unsigned.apk wplms.apk
Follow the above doc for adding the google login.February 10, 2020 at 3:51 pm #44194
so this is the summary!
1.go to Fire Base console and create a project add an android app
2. place the package name there and SHA1 ( we can use debug.keystore or ouwn own generated .keystore )
3. download the google.service.json and place in platform/android app and root
4. run command to add Reverse Client ID
5. build the app
6.sign the app with the keystore we have taken the SHA1 with jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore wplms.keystore app.aab wplms
7.zipalign the app
are you sure the right patter for reverse the client ID you used?
URLscheme = “com.googleusercontent.apps.xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”February 11, 2020 at 12:20 pm #44223February 18, 2020 at 8:53 am #44632
#Thank you very much I followed it it went all ok but when I try to install the apk it say:
” installation app blocked by play protect ”
and Google sign in works with some legacy devices I mean just on old android
Aftrer running Gen key command it ask me to connvert .JSK to standard format , should I do that?
You must be logged in to reply to this topic.