I created a simple app with react-native, using expo & Axios (for server requests)
Before build, while developing, all https requests worked fine.
After build, when running the apk on a physical device, https is not working at all.
The error I get with Logcat is "Network Error".
Other Internet connections (after build) in the app do work, like webview opening a web page or Firebase connections also.
analyzerApi.post('/analyze', urls) .then((res) => {
dispatch({type: 'get_result', payload: res.data.analysis})}).catch(err => console.log("Error in getting analyze.. " ,err.name, err.message))
(analyzerApi is an axios instance with baseUrl directed to my server)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…