-
AuthorPosts
-
February 8, 2020 at 4:13 pm #44133
DanteParticipantHi
after adding google login it wont wokI 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 directoriesShould I sign the build apk with SH key file at the end?
is there any specific tutorial for thisPlease help
February 10, 2020 at 12:55 pm #44191
HarrySpectatorHello
Generate the sha1 and place in your google firebase console project http://prntscr.com/r06dg5 and then download the google.service.json file reverse this http://prntscr.com/r06f0p
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
DanteParticipantso 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 appare you sure the right patter for reverse the client ID you used?
URLscheme = “com.googleusercontent.apps.xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
as this website :
https://stackoverflow.com/questions/39682621/reverse-google-client-id-with-swift/39691166February 11, 2020 at 12:20 pm #44223
HarrySpectatorHello
Follow this doc for finalizing the app http://bit.ly/31M52Wd
Reference: http://prntscr.com/r0oz0i
February 18, 2020 at 8:53 am #44632
DanteParticipant#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?
February 19, 2020 at 6:38 am #44674
HarrySpectatorHello
Before installing the app in your android device.go to play store>Play Protect and disable this http://prntscr.com/r4f182
-
AuthorPosts
- You must be logged in to reply to this topic.