0

I need to find 2 keys for my firebase authentication based on this answer. I found the first one, but I can't find

Variant: Release
Config: Release

key. It might be because of the warning I get:Please apply google-services plugin at the bottom of the build file.. However, I have

apply plugin: 'com.google.gms.google-services'

in Project/android/build.gradle and Project/android/app/build.gradle How do I fix the warning to get the second sha-1 key?

Here is my tree hierarchy: enter image description here

IB MR
  • 365
  • 1
  • 4
  • 16

1 Answers1

0

You should be able to find the SHA keys at Google Cloud Console after choosing respective project and selecting API & Services/Credentials from https://console.cloud.google.com/home

Also mentioned line apply plugin: 'com.google.gms.google-services' should be located within the build.gradle file (app module) and not in the project's build.gradle file. If you put it in the wrong file, just move the line to the latter.

Eric
  • 1,685
  • 1
  • 17
  • 32