cordova-plugin-ionic-webview icon indicating copy to clipboard operation
cordova-plugin-ionic-webview copied to clipboard

feat(android): hostname switching

Open NiklasMerz opened this issue 5 years ago • 4 comments

This changes allows the developer on Android to switch the apps hostname at runtime with an app reload. It also allows to whitelist paths to run the app on the same origin as a backend server.

Documentation needs to be updated somewhere.

NiklasMerz avatar Dec 10 '19 15:12 NiklasMerz

Can you tell us more about the use case for this?

nphyatt avatar Mar 25 '20 19:03 nphyatt

Our app allows user configure which server to connect to and some servers have CORS headers not set up for the Ionic Webview. With this change we can switch the apps origin to the configured server origin and avoid CORS issues that way.

Do you see a chance to get this merged?

NiklasMerz avatar Mar 26 '20 07:03 NiklasMerz

Hi, is there any update on this will be released?

christinaasu avatar Jun 03 '20 14:06 christinaasu

Hi, any updates?

vadimk7 avatar May 09 '22 07:05 vadimk7