"Physical Activity" permission dialog not visble - MacOS

Viewed 22

"Physical Activity" permission dialog not visible when i debug app in Mac-OS, if i do same in Windows-OS permission dialog is visible and everything works fine.

Physical Activity Dialog Screenshot here

Any idea what i am doing wrong, I am using Android Studio as my IDE.

1 Answers

I figured out the issue, actually this was the problem of the SHA1 key, i followed the below steps to solve my problem.

  1. Got the SHA1 value of my debug keystore by running the following command in the terminal. keytool -keystore -list -v

  2. Added my debug keystore's SHA1 key in Firebase Project - Project Settings - Your Apps - SHA certificate fingerprints (Add fingerprint).

  3. Added the same SHA1 key in Google API Console - Select Your Project Credentials - API Keys (Package Name and SHA1) and OAuth 2.0 Client IDs.

I hope this helps if someone is stuck.

Related