@iiitmahesh wrote:
in ionic serve cors is working in browser but not working apk
. In the browser (using ionic serve) it was working properly , but in apk (using ionic build android ) it was not working........
cordova plugin add cordova-plugin-whitelist (I have added this puigin using CLI)
I have used these things in config.xml
ionic.project
{
"name": "sampleApp",
"app_id": "a2fbab8f",
"proxies": [
{
"path": "/api",
"proxyUrl": "http://myserver/api"
}
]
}
Posts: 6
Participants: 3