Redirect to external URL


#1

i want to redirect the application to an external URL. This URL points to an ionic v2 application so I do not want to use inappbrowser plugin.

Is there a way to do this? This worked find with ionic v1!


#2

How about window.open(yourLink, '_system') ?


#3

Tried that… but it opens up in a browser…


#4

I’m only guessing here, but maybe this can work:

window.open('nameOfYourApp://', '_system')

#5

Heyy…

My bad… :disappointed:

Added <allow-navigation href="*" /> to config.xml and window.open(yourLink, '_self') it works now.

Thank you for your help @antoinedupont


#6

@lilford No problem :wink: