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
source to share
No one has answered this question yet
Check out similar questions: