是否可以在 react-native-web 中使用 google 登录?

Is it possible to use google signin with react-native-web?

我们正在构建一个反应本机应用程序,它有一个由 react-native-google-signin 提供支持的 Google 登录。该库使用网络中不可用的本机功能,因此我的预期是无法将我们的本机反应应用程序移植到网络上。

是否可以使用 google 登录 react-native-web?

react-native-web 尝试提供基于 DOM 的 react-native 元素的实现,它主要是 UI 重点。

可以使用 google 登录,但您必须使用 google 登录的 Web 集成 https://developers.google.com/identity/sign-in/web/sign-in

您也可以尝试 https://github.com/anthonyjgrove/react-google-login 或任何其他等效的网络库