Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(android): hostname switching #486

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

NiklasMerz
Copy link
Contributor

@NiklasMerz NiklasMerz commented Dec 10, 2019

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.

@nphyatt
Copy link
Contributor

nphyatt commented Mar 25, 2020

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

@NiklasMerz
Copy link
Contributor Author

NiklasMerz commented Mar 26, 2020

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 NiklasMerz changed the title (android): hostname switching feat(android): hostname switching Mar 26, 2020
@tryhardest tryhardest mentioned this pull request Mar 31, 2020
@christinaasu
Copy link

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

@vadimk7
Copy link

vadimk7 commented May 9, 2022

Hi, any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants