Reputation: 81
User encounters "D/FLUTTER HEALTH(21559): Access Denied!" error after selecting the mail to connect to "Google Fit" Package for me it's only working in test mode. when I set the project to production mode, it stops working. do you have a solution for this? I set the oauth id. I have given the necessary permissions.
OAuth ID Verf:
OAuth Scope:
Maniesft Permissions:
Flutter Permissions:
I expected it to work in production mode as well as it worked in test mode. But in production mode, after selecting his mail on the "connect to google fit" screen, he gets the Access Denied error.
Upvotes: 7
Views: 1080
Reputation: 1354
This issue appears in the release mode build.
Change in anrdoid/app/build.gradle
:
debug { signingConfig signingConfigs.release }
to signingConfigs.debug
Upvotes: 0