Open externally link in app ios

Install InAppBrowser in my app and I use the following way to open links, but open within the app and not the default browser, that will be?

<a href="#" onClick="'','_black','location=yes');return false;"><i class="icon ion-social-facebook"></i></a>


<a href="#" onClick="'','_system','location=yes');return false;"><i class="icon ion-social-facebook"></i></a>

try putting in " _blank " instead of " _black ", minor typo :wink:

I can not believe that was my mistake … thank you very much for correcting me hahaha

Well, I’ve certainly had more obvious mistakes in my programming life :stuck_out_tongue:

just apply the change and I still does not work, you think if I do a rm plattform and add it again has to do? because in the browser works fine but if I or ios or android open in a new window.

i’ve had this same issue previously, and I solved it by doing

<a href="#" ng-click="openFB();"><i class="icon ion-social-facebook"></i></a>


$scope.openFB = function(){'','_black','location=yes');

Putting the code in a function inside the controller has worked for me when direct linking hasn’t worked

1 Like

I did, but still not working, it can not be that is causing this

You could try platform remove and add, but I’m not sure… I’m out of ideas :wink:

I’ve done it a few times but still not working. I do not understand it can be …