简体   繁体   中英

Purpose of Android/Firebase Debug signing certificate SHA-1

在此输入图像描述

The latest Firebase Cloud Messaging panel has an optional Debug signing certificate SHA-1 field when registering a new app. The form states that the certificate is:

Required for Dynamic Links, Invites, and Google Sign-In support in Auth. Edit SHA-1s in Settings.

There are many online resources ( example ) on how to get the certificate, but I could not find a proper explanation about its purpose, what is the difference between release and debug, and why Firebase takes only for the latter.

What is the purpose of the SHA-1 certificate, and what are the differences between the release and debug versions?

As I understand, certain Google Play services (eg Google Sign-in) require providing the SHA1 fingerprint of the certificate used to sign the app. When developing an app using Android Studio, the IDE creates a self-signed debug certificate which is used to sign the app in development. You need to register the fingerprint of this certificate with Firebase console in order to access Google Play services.

You can find more info in the following articles:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM