7

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.

1 Answer 1

0

This issue appears in the release mode build.

Change in anrdoid/app/build.gradle:

debug { signingConfig signingConfigs.release }

to signingConfigs.debug

Sign up to request clarification or add additional context in comments.

1 Comment

I solved the problem but don't remember how I did it because time has passed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.