I am having some issues using react-native-google-signin package, specifically when adding the scope for games services (https://www.googleapis.com/auth/games) it always fails with the 12501 code (canceled).
For example, this is a failing configuration:
GoogleSignin.configure({
...configPlatform,
webClientId: 'clientid',
offlineAccess: true,
scopes: ["https://www.googleapis.com/auth/games"],
});
If I use a different scope from auth google, this configuration will let me login:
GoogleSignin.configure({
...configPlatform,
webClientId: 'clientid',
offlineAccess: true,
scopes: ["https://www.googleapis.com/auth/drive.appdata"],
});
I have checked that the mobile image in the simulator I am using has play and google games installed. Due to this, I am not sure that the issue is on the package, or if I am configuring something wrong.
- Is there any extra permissions or similar I should add to my android project?
- Is there any extra scope that should be added and that is missing in conjunction with the games one?