Axios or fetch are working fine in ios for HTTPS request, but getting network error for android.
For HTTP working fine in android and IOS both.
Sending header:
headers: {
‘Accept’: ‘application/json’,
‘Content-Type’: ‘application/json; charset=UTF-8’,
‘cache-control’: ‘no-cache’,
‘content-type’: ‘application/x-www-form-urlencoded’
}
catch error:
Network Error
- node_modules\axios\lib\core\createError.js:16:24 in createError
- node_modules\axios\lib\adapters\xhr.js:87:25 in handleError
- … 9 more stack frames from framework internals
App alredy running on live. Need help ASAP.
Thank you!