Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

window.open(url, '_system', 'location=no'); working on android but not on iOS w/last Library.

(JQM App)
On android, it opens the with the url in det default browser,
but on iOS the page opens on the app and there is no way to go back to the app.

This works fine with Libraries 4.1 but when I change to the new 5.0 Libraries I cannot get back to my application again :-(

This seems to me like a bug. Do we have a workaround for this so that I can open an external help link from my app?? (Users have mostly IOS devices).

regards

Ole Henrik Oftedal
Timeflex Systemer AS
https://www.timeflex.no
http://www.timeflex.com

P.S.

The bug/problem can also be reproduced following this tutorial/demo:

https://docs.appery.io/docs/cordova-j...

Switching between Libraries 4.1 and 5.0.

Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

window.open(url, '_system', 'location=no'); working on android but not on iOS w/last Library.

This was testet on Appery.io Tester. I will try to install app on a real device through Xcode. Could be a bug in the Appery.io tester only.

Edit:
Puhh. It works fine when running the app on a real Iphone:-) My conclusion is that is a bug in Appery IO Tester since it works with app compiled with one library and fails compiled with another (newer version).

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

window.open(url, '_system', 'location=no'); working on android but not on iOS w/last Library.

Hello,

Have you tried to use the property "location" with the value "yes" instead of "no" here

Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

window.open(url, '_system', 'location=no'); working on android but not on iOS w/last Library.

Yes. I have tried both.

Now that I know about the bug, it's no problem for me as long as I know that i works on the real device. But other developers might be very puzzled if they (like me) are trying to make some work-arounds to avoid this situations. As this is both unecessary and time consuming.

This bug is easy reproduceable. See earlier in this thread. You will also experience this in the combination Iphone + Appery IO Tester + open url from a button or a link in a menu. (Open url in a new window function in Builder gui.)

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

window.open(url, '_system', 'location=no'); working on android but not on iOS w/last Library.

Hello Ole - thank you for noticing this we will definitely report this to our development team.

Return to “Issues”