SDK Version: 35
I previously thought that probably I had made a mistake somewhere, and tried to explain what I did here: GoogleSignIn on Android: I can't get it to work (hoping that someone could see the mistake). I’m still open to the possibility that I’m the one who has made a mistake, but I’m starting to suspect that something might be wrong in regards to expo-google-sign-in.
The documentation for google-sign-in on the expo webpages is basically like “here are a few steps you can follow to get this working”. But the readme-file that shows up as documentation on github and npmjs.com says “If you follow the link [<-- link that doesn’t go anywhere] and there is no documentation available then this library is not yet usable within managed projects”.
Something that makes me additionally confused is that I did get the library to work on a managed app, but on IOS and not Android. But according to the readme-file on github it’s the IOS version that needs additional configuration in a bare non-managed project, while in regards to Android it says “No additional set up necessary”.
I’ve also tried to get expo-google-app-auth to work on Android, so far with no success. For this library the readme-file on github makes no mention of the library not working on managed apps, and the documentation on the expo website doesn’t either (in fact it makes explicit mention of the library’s use in managed apps). But the readme-file of expo-app-auth, the library that (if I understand things correctly) expo-google-app-auth is a wrapper of, says indirectly that the library is not yet usable for managed projects. It says this the same way that this is said in the readme-file for expo-google-sign-in (“if [thing that is true] then this library is not yet usable within managed projects”).
It seems clear to me that expo’s documentation regarding google authentication is misleading/wrong Since different parts of it are self-contradictory, at least some parts of it must be wrong. This makes it even more frustrating for me when I’ve tried to follow instructions and spent days trying to get things to work, because I don’t know if things aren’t working because I’ve done something wrong or because the library just doesn’t work for Android. So if someone could help rid me of this confusion that would be appreciated:
Are there anyone here who can confirm that they’ve gotten google authentication to work on Android?
And are there anyone here who can confirm that they’ve gotten google authentication to work on Android with expo-SDK 35?
I’m hoping to get things working on SDK 35, since I need that for Apple login, but if I need to revert to an earlier version to get things working on Android that would also be very useful info. Using a different SDK-version for IOS and Android would not be optimal, but it’s a possibility. Having to give up on expo and use bare react native instead would suck
If anyone can help me out here (be that with a solution, or just a pointer) that would be greatly appreciated!