cordova-plugin-ionic-webview
cordova-plugin-ionic-webview copied to clipboard
Android: same domain as the host return the index.html
When I set the domain as the same of the host the app returns the index.html. This behavoir is happening because app’s webview thinks you are asking for an internal resource, like a local page (index.html, etc.), instead of making an actual HTTP network request.
I need to set the same domain to avoid CORS conigurations and pre flights calls.