İbrahim Talha DEMİR
İbrahim Talha DEMİR

Reputation: 81

Flutter Health Package (4.3.0) D/FLUTTER HEALTH(21559): Access Denied

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:

Ekran Resmi 2022-11-23 23 46 16

OAuth Scope:

Ekran Resmi 2022-11-23 23 43 19

Maniesft Permissions:

Ekran Resmi 2022-11-23 23 44 22

Flutter Permissions:

Ekran Resmi 2022-11-23 23 44 59 Ekran Resmi 2022-11-23 23 48 14

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

Answers (1)

Linar
Linar

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

Related Questions