简体   繁体   English

Google登录无法在ios发布模式下反应本机

[英]Google Signin not work in ios release mode react native

My google signin ios not work after choose user in release mode, but in development mode its work very well, any suggestion? 在释放模式下选择用户后,我的Google登录ios无法正常工作,但是在开发模式下,它的工作非常好,有什么建议吗?

this is my dependencies: "react-native": "0.57.1", "react-native-google-signin": "^1.0.0-rc7", 这是我的依赖项:“ react-native”:“ 0.57.1​​”,“ react-native-google-signin”:“ ^ 1.0.0-rc7”,

thanks 谢谢

finally in found this answer, you must put: 终于在找到了这个答案之后,必须输入:

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>

in your info.infoPlist to run in release mode on ios 在您的info.infoPlist中以在ios上以发布模式运行

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM