I am working on cordova apps using mac machine and checking apps in iOS only, but when created application through windows system for android APK, my API call is not working and always returns error part, But its working fine in iOS as well as on browser
I found many same question on this, which are really old but not helping in my case and don't know why
Here are some same questions :
1) Ajax request failing in cordova/phonegap app on real device
2) AJAX Call not working in Phonegap but working normally
Tried many things but always getting {"readyState":0, "responseText":"", "status":0, "statusText":"error"}
Even created new fresh build and generate APK but result is same.
I am working with below version:
cordova -v : 9.0.0 (cordova-lib@9.0.1)
javac -version : javac 1.8.0_151
adb version : Android Debug Bridge version 1.0.40
Let me know if you required anything else from me, thanks.