I want to open some of my external links with “chrome custom tab” and for this purpose I have installed a cordova plugin - “cordova-plugin-browser” (Github link - https://github.com/chemerisuk/cordova-plugin-browser)
So in my desired link, I am doing this -
<a href="#" class="external" onclick="openLink($myurl)">View Details</a>
AND then in my app.js, I am doing this -
//open in chrome custom tab
var url = url;
Clicking the link does nothing. Actually I am unable to figure out how to use the plugin/or initiate the plugin when link is clicked.
Very less help is described in the plugin page. It says, to open a link in browser activity do -
Please suggest correct way to do it.