可以在发布模式中从HTTP服务器中获取数据React本机
我尝试从'http://12.12.129.302.253:9005'获取API,在调试模式下它正常工作。当我捆绑发布时,APIS不是Callabl。请任何解决方案。
I tried to fetch the api from 'http://12.129.302.253:9005', it work fine in debug mode.When I bundle release, apis are not callabl.Any solution please.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有什么比它这样..确保您
在
androidmanifest.xml
中添加了以下设置,在info.plist.plist
中添加此iOS
和 两个都。
There is nothing like it.. Make sure you have added the following settings
For Android in
AndroidManifest.xml
add thisand for iOS in
info.plist
add thisIt should work for both.