![](/img/trans.png)
[英]How to create order_id on firebase for razorpay? I am using react-native with firebase for mobile application
[英]How can I successfully perform Google-login using firebase in react-native application for android and iOS both if I am having different client IDs?
我想在 react-native 中使用 firebase 执行 Google 登录。
对于 android,我从 google-services.json 获取了 Web 客户端 ID,对于 IOS,我从 GoogleService-Info.plist 获取了 Web 客户端 ID
现在这两个 ID 不同,所以现在我可以一次在 android 或 iOS 中执行登录。
如果我想在 android 和 iOS 中同时执行登录,我应该怎么做,尽管两者都有不同的客户端 ID?
您应该使用正在执行的平台的配置数据初始化 Firebase SDK。 所以这通常意味着您在应用程序中包含每个平台的配置,然后在运行时为当前平台包含 select 配置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.