Google fit Authorization cancelled in internal test build

193 Views Asked by At

I have released my app to internal testing with google fit implementation and google fit fails to authorize user in app installed from internal testing. However, it works when same apk file is installed through adb. I have created Oauth credentials and added SHA1 key and Google recently verified the fitness API scopes.

What am i missing?

1

There are 1 best solutions below

0
Sawal Timsina On BEST ANSWER

Fixed:

Needed to add App signing key certificate sha1 key to oAuth credential.

Here is detail explanation: https://github.com/StasDoskalenko/react-native-google-fit/issues/332