InAppBrowser Open Twitter link in App if installed


#1

Hi,

I have an Ionic App that uses InAppBrowser to open a website. On the website is a twitter button, that links to a twitter page. The link works but uses your default browser.

How can I make the twitter button check and open the Twitter native app if it is installed?

Please note, the button link is not inside the Ionic Project, it is on the ‘Website’ that is opened with InAppBrowser. The Website is on the internet and doesn’t link to Ionic.

In a seperate Ionic project I have managed to create my own button link that checks if Twitter is installed, if it is, then open the app. Im looking at how I can apply this to a link on a website I am viewing in InAppBrowser.

Thanks in advance.