Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoogleFit.authorize() function and the client_secrets.json Saga. #90

Closed
salles-sandro opened this issue Feb 20, 2019 · 3 comments
Closed

Comments

@salles-sandro
Copy link

salles-sandro commented Feb 20, 2019

Just to let anyone else that, like me, spent lots of precious time struggling with the authorize method and the error below:

"ConnectionResult{statusCode=SIGN_IN_REQUIRED, resolution=PendingIntent{4460f51: android.os.BinderProxy@6992179}, message=null}"

After searching the entire internet i found a comment mentioning that the client_secrets.json file generated after the https://developers.google.com/fit/android/get-api-key process should be store exactly at this location:

app/android/app/src/main/resources/client_secrets.json

Then... at least for me, things are finally working.

@StasDoskalenko ... if it's the case, if this instruction is really valid and not only for my case it would be nice to have that documented :-)

@StasDoskalenko
Copy link
Owner

StasDoskalenko commented Mar 2, 2019

@imanderson
Copy link

Still doesnt work... I get the same error. @salles-sandro can you share where you found that comment that this file is needed? Ive tried many things to make this work, but without success

@imanderson
Copy link

Nevermind, turns out I it was a problem of certificates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants