sioesi
September 17, 2014, 1:37pm
1
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="window.open('https://facebook.com/entelSA','_black','location=yes');return false;"><i class="icon ion-social-facebook"></i></a>
or
<a href="#" onClick="window.open('https://facebook.com/entelSA','_system','location=yes');return false;"><i class="icon ion-social-facebook"></i></a>
try putting in " _blank " instead of " _black ", minor typo
sioesi
September 17, 2014, 2:11pm
3
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
sioesi
September 17, 2014, 2:22pm
5
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.
Bonda
September 17, 2014, 5:14pm
6
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>
Controllers.js:
$scope.openFB = function(){
window.open('https://facebook.com/entelSA','_black','location=yes');
}
Putting the code in a function inside the controller has worked for me when direct linking hasn’t worked
1 Like
sioesi
September 26, 2014, 4:42pm
7
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
sioesi
September 30, 2014, 1:03pm
9
I’ve done it a few times but still not working. I do not understand it can be …