I have a simple Cordova app that's loads a webview with my website url. The problem is that the site is not yet in production so i need to use the http://example.test
instead of https://example.com
for local development.
I tried to put the local url in the webview open method:
cordova.InAppBrowser.open('http://example.test');
But it gives me the following error:
Application Error. net::ERR_CLEARTEXT_NOT_PERMITTED (http://example.test/)
Is the only solution to this problem to upload a pre-production site? I couldn't find any options/plugins to use a local domain in a webview.