首页 > 解决方案 > 请求在 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

标签: react-nativeexpo

解决方案


经过大量搜索,我得到了答案。请点击链接,这将适用于世博会

https://create-react-app.dev/docs/using-https-in-development/


推荐阅读