Firebase Authentication Not working in signed APK

后端 未结 4 1146
迷失自我
迷失自我 2020-12-03 05:41

I\'m using Firebase Google Sign in. It works perfectly via USB debugging. But when I generate signed APK, it stops working. Its not able to sign in. Using it on Android 5.1

相关标签:
4条回答
  • 2020-12-03 06:10

    For Windows:

    In Reality:

    keytool -list -v -keystore "E:\Google Drive\MeshstocksSyncronize\AndroidKey\BRB\bangaliRussainBusiness.jks"
    

    for Example :

    keytool -list -v -keystore "**Here is your path**"
    

    past this line to your android studio terminal.

    Follow the video for batter understanding: https://youtu.be/TYrmT8Emadg

    0 讨论(0)
  • 2020-12-03 06:28

    You are having fingerprint certificate in console, but its only for debugging purposes, for signed apk you need a production fingerprint certificate, and you can get one by

     c:\Program Files\Java\jdk1.6.25\bin>keytool -list -v -keystore c:\you_key_here.key
    
    0 讨论(0)
  • 2020-12-03 06:30

    Steps to locate the SHA-1 key: 1) Go to your Google Play Console 2) Select the targeting app 3) Go to "App signing" under "Release management" 4) The SHA-1 key can be found under "App Signing Certificate"

    It took me many hours to resolve the issue and I hope this can help someone who runs into the same issue.

    0 讨论(0)
  • 2020-12-03 06:35

    I had the same problem and I fixed the problem using these methods.

    1. Complete app signing on your Play store console using these instructions How to enable Google Play App Signing

    2. Go to your Firebase console Settings > General > Your apps > (Select your project) then add the SHA-1 from App signing certificate from your Play store. You can get SHA-1 by going to Release management -> App signing as show in this image.

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