react-native - 请求在 react-native 中不适用于 android 9
问题描述
在 expo HTTPS API 不适用于带有正文的身份验证令牌的 android 9。任何人都可以帮助我解决这个问题。
Object {
"fullurl": "https://www.grofirereviews.com:3005/api/user_login",
"postdata": Object {
"email": "sandeep@codeplateau.com",
"password": "123456",
},
}
Error Message : "Network Error"
我使用 axios 库来调用 api
解决方案
经过大量搜索,我得到了答案。请点击链接,这将适用于世博会
https://create-react-app.dev/docs/using-https-in-development/
推荐阅读
- typescript - 通过索引文件导出的 Sinon 存根函数
- javascript - 是否可以手动从 Bloodhound 索引中删除条目?
- amazon-web-services - 使 lambda 函数的多个实例写入同一个文档
- multiple-columns - 添加列以检索单行
- python - 返回python中的主菜单
- facebook - 在发布中需要帮助 Flutter facbook 登录应用程序
- regex - 正则表达式在德国管道前获取文本|fbf4cf3c-ebfe-43c8-aaf9-6811bd3488b0
- javascript - 如何在函数参数中定义/使用“el”(vue js)
- react-native - FlatList 组件有问题
- continuous-integration - 工作服不工作“五零零”消息