Sign-in with google for android not working in release apk

后端 未结 2 908
野趣味
野趣味 2020-12-09 18:12

I have added the Google Sign in in my application and made it work by following all the steps in the official documentation. Everything worked fine, until I generated a sign

2条回答
  •  無奈伤痛
    2020-12-09 18:57

    When you upload an apk to the play store then play store creates a new SHA1 key called "App signing certificate". You get that SHA1 and save in your console or firebase account (as you need).

    New SHA1 will be found at Released Management->App Sigining on your play console.

    or

    when you build signed apk with your filename.jks it has different SHA than your debug apk, put these SHA which is generated by signed apk in Firebase nd update it and again download json from firebase and override existing json from your android studio.

    Before publishing app you should read Google Play launch checklist

    For complete release process you can go here

提交回复
热议问题