Ingus Štāls
Posts: 0
Joined: Thu May 28, 2015 8:50 am

inAppBrowser external links target=_system issue

I'm having trouble with inside inAppBrowser link navigation. I open inAppBrowser with specific link which contains web page. In my web page are some links that should be opened with system browser window.open(url, '_system'), but this functioanality won't work. When I click link, my inAppBrowser just change URL,but I expect to open those links in device default browser.

What would be Your suggestion?

Ingus Štāls
Posts: 0
Joined: Thu May 28, 2015 8:50 am

inAppBrowser external links target=_system issue

Also having trouble to execute scripts- nothing happens
image- http://prntscr.com/7aaz94

ref.executeScript({ code: "alert();" }); - no alerts

ref.executeScript({ code: "window.open('http://cordova.apache.org/','_system');" }); - url is not changing

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

inAppBrowser external links target=_system issue

Answered personally

Ingus Štāls
Posts: 0
Joined: Thu May 28, 2015 8:50 am

inAppBrowser external links target=_system issue

I guess You did not understand the issue

App opens links as expected
_blank opens in inAppBrowser
_self opens in cordova webView
_system in Phone default browser

but the issue is that if in inAppBrowser try open phone default browser, we get only redirect

So I'm asking that how to open default Phone browser from web page that is already opened in inAppBrowser

those two links whats in this site - http://jsbin.com/UkoyuCuD/1/edit?html...

And I did the example - https://devcenter.appery.io/tutorials...

still having same issue

Question: Why all links with target _system in inAppBrowser opens in the same browser?

Ingus Štāls
Posts: 0
Joined: Thu May 28, 2015 8:50 am

inAppBrowser external links target=_system issue

only solution for this is - http://blogs.telerik.com/appbuilder/p...

but this solutions works only for KITKAT (Android 4.4.x) - https://issues.apache.org/jira/browse...

and there is no workaround for this, how it works on IOS - I don't know

This is not the Appery issue

Thanks for helping

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

inAppBrowser external links target=_system issue

Thank you for update.

Sam7563891
Posts: 0
Joined: Mon Jun 01, 2015 4:36 am

inAppBrowser external links target=_system issue

window.open launched correctly, but
1) when I return to the app it no longer responds to any service calls or javascript events. How do I "free" the app to continue working?
2) is it possible to have the reference be a pdf file instead of an html file?
Sam

Return to “Issues”