Page 2 of 2

no back button in ios version

Posted: Wed Mar 12, 2014 5:17 am
by Kevin Tong

HI Igor Moroz,
thanks for ur patience,but I still can not to include the inappbrwoser in my app made by apperyio.there still not "ok" button.could u get me a bit of details?


no back button in ios version

Posted: Wed Mar 12, 2014 6:43 am
by Kevin Tong

I created a project,then created a js,wrote the code window.location.replace('url');
it 's seemed not to use inappbrowser.but if I use window.open method,it wont work in my iphone.I dont know why.


no back button in ios version

Posted: Wed Mar 12, 2014 6:56 am
by Alex GG

Hope this image helps you...

Image


no back button in ios version

Posted: Wed Mar 12, 2014 7:03 am
by Kevin Tong

thanks ,but I didnt use that part,I just use a JS to go to my html5 website.
window.location.replace('mywebsite');


no back button in ios version

Posted: Thu Mar 13, 2014 8:45 am
by Maryna Brodina

Hello! Try this code prewindow.open('http://example.com', '_blank', 'location=yes');/prePlease note this code will work only after device ready event (in a few seconds after page is opened). If you run it earlier - site will be opened instead app and there won't be Ok button.


no back button in ios version

Posted: Thu Mar 13, 2014 11:05 am
by Kevin Tong

hi,Maryna Brodina
didnt work.


no back button in ios version

Posted: Thu Mar 13, 2014 1:36 pm
by Maryna Brodina

Please post your public app link and steps to reproduce.


no back button in ios version

Posted: Tue Mar 18, 2014 1:36 am
by Alex GG

Hello Maryna...

I ́m using an event calendar plugin. When the user clicks on the event, a description and a button appears, by clicking on that button takes you to the URL of the event.
These are some lines of the JS code to create the button:

Image

The problem is that in iphone, theres no way to return to App, so I ́d like to change this code to something like this:

window.open('https://www.xxxxxxxxxxx.com', '_parent');

This code let me return to my app using OK button.

Thanks!!