InAppbrowser no done/close button


I have been trying to open external links through my ionic app. Been trying to do this using the inappbrowser plugin. I am using the following code:

<a ng-href="" target="_blank" ng-click="'', '_blank', 'location=yes, toolbar=yes')">Google</a>

The link opens in the inappbrowser, but there is no back button or close button and hence no way of going back to the app. This is happening in both android and ios. I have tried changing _blank to _system and to _self, but this is not making any difference. The links still open in the inappbrowser with no back button regardless of the target and options.
I have also tried replacing with and with $ Makes no difference.
All the dependencies have been added to the config.xml file and to the index.html file.

Is there anything I am missing?

I am using ionic v1, the inappbrowser plugin is installed and is version 1.7.1, iOS 9.


Use SafariViewController( Recommended by Apple )


This fixed the problem for me. Add the following code is in your config.xml file if it isn’t already present:

<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />

Allow the href specific to the hyperlink you are using in your project.