Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Open External link in ionic app

Anyone have a idea about how to open external link(outside from my ionic app) in my ionic app. when i tab on the link it will show my app if exsist in mobile.

enter image description here

like image 670
Manoj Avatar asked Dec 07 '16 06:12

Manoj


People also ask

How do I run an ionic app on Android?

To run your app, all you have to do is enable USB debugging and Developer Mode on your Android device, then run ionic cordova run android --device from the command line. Enabling USB debugging and Developer Mode can vary between devices, but is easy to look up with a Google search.


1 Answers

Install InAppBrowser:

ionic cordova plugin add cordova-plugin-inappbrowser

npm install --save @ionic-native/in-app-browser

Call your links like this:

window.open(url, '_system');
like image 56
felix9607 Avatar answered Sep 21 '22 05:09

felix9607