Open some url in native browser


#1

Hello, I tried a few options but nothing to work.
I’m loading article content from API to my Ionic application. Some content contains “a” tags and I would like to open it in native browser on device.

I tried InAppBrowser but it’s doesn’t work.
Some tutorial rewrite window.open with cordova.InAppBrowser.open but cordova is undefined in my case.

I don’t know how can I do it.

Thx a lot

ionic version 3.4.0
cordova version 7.0.1

<plugin name="cordova-plugin-console" spec="^1.0.5" />
<plugin name="cordova-plugin-device" spec="^1.1.4" />
<plugin name="cordova-plugin-file" spec="^4.3.3" />
<plugin name="cordova-plugin-geolocation" spec="~2.4.2" />
<plugin name="cordova-plugin-globalization" spec="~1.0.6" />
<plugin name="cordova-plugin-inappbrowser" spec="^1.7.1" />
<plugin name="cordova-plugin-splashscreen" spec="^4.0.3" />
<plugin name="cordova-plugin-statusbar" spec="^2.2.1" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.1" />
<plugin name="cordova-sqlite-storage" spec="^2.0.4" />
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />