Google Plus login gives error code 10 in signed ionic app

后端 未结 3 1133
挽巷
挽巷 2021-02-10 06:23

I\'m developing an ionic application using google plus login. it was properly work when in developing. but in signed apk its give me error 10.
my c

相关标签:
3条回答
  • 2021-02-10 07:09

    I had glazed over this article as I was using android studio and not firebase so I never read it (wish I had). It was the same problem and solution as it relates registering the correct sha1 key from google play portal. Being new to android I opted in for google play app signing but was using my local release keystore sha1 and figured out the mistake after a day.

    0 讨论(0)
  • 2021-02-10 07:13

    In my case, I have used different keystore for both process.

    1. Generating SHA key.
    2. For signing apk.

    now the solution is. we should have to used same keystore for both process.

    1. Generating SHA key.
    2. For signing apk.

    its worked for me. I hope its also work for you.

    0 讨论(0)
  • 2021-02-10 07:18

    First make sure you are saving your SHA-1 fingerprint (for debug and for release mode) on firebase

    I had this issue for days, my app was working fine when deployed to the device from the PC, in debug and release mode, login started falling when I published my app to the Android store, and install it from there, the problem was that the app signing was selected by default when you publish… In order to fix this you have to get your SHA-1 fingerprint from the android developer console and add it to the firebase console… I’ve created a blog post explaining it in details here http://www.jomendez.com/2017/08/30/ionic-2-google-sign-in-error-10-with-firebase/

    Hope it helps you ;)

    0 讨论(0)
提交回复
热议问题