React-Native: Facebook and Google Login

https://github.com/react-native-community/react-native-google-signin seems to be maintained well nowadays, and last week only I implemented it in a production react native app.

So would recommend that for Google authentication.


For Google Login:

I tried both https://github.com/devfd/react-native-google-signin and https://github.com/joonhocho/react-native-google-sign-in. And neither of them work properly! I'm doubted whether they're maintained anymore.

The final correct solution is https://github.com/fullstackreact/react-native-oauth. It has a very good installation guideline and worked very well for my project. It also supports auth with other providers like Facebook, Twitter, Slack, ...

Btw, for Facebook Login, https://github.com/facebook/react-native-fbsdk also works nicely, despite of complex installation.


The fbsdk is the best option for Facebook obviously. For Google: I'm already using react-native-google-signin. It does (at least for Android) work as expected. It is a bit tricky to install, but there is a good FAQ section provided by the authors.


Have you had an answer? I'm also finding a library to implement google auth in reactnative and did not find a suitable one. but for facebook login ,you can use this . Because it's made by facebook so I think it will be well maintained.