[3.0.x] health - Log out or disconnect account
Health Package
I have not found a way to log out a user's account once it has been authorized. It would be nice to have a logout method to be able to choose another user account to retrieving data.
We actually already implemented this and can probably send it back.
Please make a PR if so?
We actually already implemented this and can probably send it back.
Any Updates?
sorry, been crazy swamped, I totally forgot about this. i think you can check out #436
Hi, we really need the log out option, it's a must for data protection regulation...
Hi, any news on this topic?!
Any updates on the log-out option for Android and IOS?
My PR has this function.
Hello @HangingClowns, nice work with #436!
Would it be possible for you to go over the merge conflicts, in the coming weeks?
Let me know how can I help. Thanx!
Any updates on logout or disconnect from googlefit ??
Any updates on logout or disconnect from googlefit or health app ??
We solved it with google_sign_in plugin for flutter. This plugin allows us to SignIn Silently, and SignOut from google, all we needed was the token. So we used the REST flow to get the steps from googleFit witht the bearer token.
This is the scopes we used: static String googleFirUrl = "https://www.googleapis.com/fitness/v1/users/me/dataset:aggregate";
static GoogleSignIn _googleSignIn = GoogleSignIn( scopes: <String>[ 'email', 'https://www.googleapis.com/auth/fitness.activity.read', ], );