Page 2 of 3

inApp browser / opening in native browser not working as expected - iOS

Posted: Thu Jan 22, 2015 9:47 am
by Illya Stepanov

Thanks.


inApp browser / opening in native browser not working as expected - iOS

Posted: Thu Jan 22, 2015 10:54 am
by Mohammad Salek

Hello James,

May I ask you to kindly tell us the steps to reproduce the issue that you're encountering. I'm testing it on iOS 8.1 as well.


inApp browser / opening in native browser not working as expected - iOS

Posted: Thu Jan 22, 2015 8:46 pm
by James Appleford

Hi
Once I have installed the App onto the iPhone. Navigate form the home page to the "Links" button. Within this page select the top button "Greenpar School Website"
This button takes you to the webpage. But does not function in any way except opening the webpage inApp with no navigation menu.


inApp browser / opening in native browser not working as expected - iOS

Posted: Fri Jan 23, 2015 8:56 am
by Mohammad Salek

Hi again James,

I tested it a while ago on iOS 8.1 (Mini ipad) and the moment I clicked the "Greenpark School Website" button, it took me to the Appery.io webpage which I'm assuming that it's not the page that the button suppose to navigate. We are looking for a solution for this and will get back to you as soon as possible. Thanks for your patience.


inApp browser / opening in native browser not working as expected - iOS

Posted: Sat Jan 24, 2015 7:01 am
by Illya Stepanov

Hi James -

As I see in your app you're using this code on the "Greenpark School Website" button click event:

Image

if you want to have ability to return to your app after opening this link, should be this code:
pre
codewindow.open('http://your_site_url.com', '_blank');/code
/pre


inApp browser / opening in native browser not working as expected - iOS

Posted: Sun Jan 25, 2015 9:21 am
by James Appleford

Hi Yes i had it set to my site originally. I changed it to what you had posted earlier just to test it wasn't a typo error that i had made.

I have tested the code you have above previously and it still functioned the same as the code i had here (but going to the website of my choice rather that the Appery website).

I have tried following this guide and got the same result with each different option
http://devcenter.appery.io/tutorials/...


inApp browser / opening in native browser not working as expected - iOS

Posted: Sun Jan 25, 2015 10:37 am
by Illya Stepanov

James --

Could you please show us the result that you're getting now in your app with above code example.


inApp browser / opening in native browser not working as expected - iOS

Posted: Wed Jan 28, 2015 9:00 am
by James Appleford

I don't seem to be able to open the app in the builder anymore. It tries to load but then reloads the app list again. It has been happening the last couple of days. I thought there may have been an issue with the system but now I'm starting to think its just me? Is there anything i can do to get it going?


inApp browser / opening in native browser not working as expected - iOS

Posted: Wed Jan 28, 2015 9:04 am
by Evgene Karachevtsev

Hello James,

Could you please log out from Appery.io, clear browser cache and cookies, re-log in and try to open your app once again?


inApp browser / opening in native browser not working as expected - iOS

Posted: Wed Jan 28, 2015 9:54 am
by James Appleford

Thank you Evgene that worked a charm.

I have tested the code stated as above

window.open('[url=http://your_site_url.com]http://your_site_url.com[/url]', '_blank');

and attached a screenshot of what happens on my iPhone. As you can see it opens the webpage with no menu. Image