Wrong target Cordova InAppBrowser

I need to open some urls in my application via inAppBrowser, the following example code I am using:

var url = "http://ja.m.wikipedia.org/wiki/ใƒใƒณใ‚ฐใƒซ"
var target = "_self";    
var options = "location=yes,hidden=no";

var inAppBrowserRef = cordova.InAppBrowser.open(url, target, options);

      

This doesn't work with Cordova v6.3.1, the logs don't show up in the console and don't do anything.

However this works with Cordova v5.4.0, also if I change the target to _blank

it works correctly for all versions.

Does anyone know how to make the target work _self

for Cordova v.6.3.1?

thank

+3
javascript ios cordova inappbrowser


source to share


No one has answered this question yet

Check out similar questions:

7649
How does JavaScript blocking work?
4
Issue with Cordova InAppBrowser plugin on iOS when setting target to "_blank", page keeps loading
4
External links / InAppBrowser in Cordova / Phonegap 3.3 always behave like "_self"
1
Ionic Cordova InAppBrowser does not open url second time
1
Cordova inappbrowser blank white screen
0
Phonegap inAppBrowser only works from the start page
0
How to get url in web browser of Cordova InAppBrowser system
0
<a target=_blank> doesn't work for local HTML files in Android using cordova </a>
0
Cordova InAppBrowser stuck loading
0
Cordova InAppBrowser target _self not working on iOS



All Articles
Loading...
X
Show
Funny
Dev
Pics