Page 2 of 4

Not worknig redirect on iOS in childbrowser.

Posted: Thu May 09, 2013 4:26 pm
by Illya Stepanov

Hi Christine - share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a we'll take a look.


Not worknig redirect on iOS in childbrowser.

Posted: Thu May 09, 2013 4:28 pm
by Christine Stringfield

It is shared.


Not worknig redirect on iOS in childbrowser.

Posted: Fri May 10, 2013 5:33 am
by Christine Stringfield

I think I may have found the problem. I replaced

cb.showWebPage(url);

with

window.open(url);

If this is the correct solution, you may need to update your Facebook connect tutorial.


Not worknig redirect on iOS in childbrowser.

Posted: Sat May 11, 2013 2:03 am
by Christine Stringfield

So this change seemed to work for Android, but not iOS...I am still experiencing an issue with iOS. Any suggestions on fixing this?


Not worknig redirect on iOS in childbrowser.

Posted: Sat May 11, 2013 3:10 am
by Illya Stepanov

Christine - we will test it and update.


Not worknig redirect on iOS in childbrowser.

Posted: Mon May 13, 2013 9:35 am
by Kateryna Grynko

Hi Christine,

Can't say for sure where the problem is. When navigating page name is case-sensitive. In the following line page should be named "result":
codeAppery.navigateTo('result', {reverse: false})/code


Not worknig redirect on iOS in childbrowser.

Posted: Thu May 16, 2013 4:50 am
by Christine Stringfield

So when I changed the line (see my code in the comments above):

Code: Select all

  cb.showWebPage(url);  

to

Code: Select all

  window.open(url) 

it fixed the problem with the Facebook login. However, now the cameraservice will not work. I changed window.open(url) back to cb.showWebPage(url) and the camera works. It seems as though I cannot get the Facebook redirect & the camera service to both work. Could you take a look? This is a problem when I tested the Android debug apk file.


Not worknig redirect on iOS in childbrowser.

Posted: Thu May 16, 2013 5:15 am
by Christine Stringfield

It seems like the Facebook tutorial works fine for a mobile web app, but I am not able to get it to work for Android or iOS, and I need to be able to access the device's camera.


Not worknig redirect on iOS in childbrowser.

Posted: Thu May 16, 2013 7:38 am
by Kateryna Grynko

Hi Christine,

Please check if you've changed "Tiggzi" to "Appery" in your app links and on Facebook.


Not worknig redirect on iOS in childbrowser.

Posted: Thu May 16, 2013 3:25 pm
by Christine Stringfield

Hi Katya, yes, I have changed them to say Appery. The Facebook code provided in the Appery tutorial opens a child browser for Facebook login, however when the childbrowser closes, it is as if the native app doesn't have the Facebook access token and therefore the app cannot retrieve Facebook information that I use for my app.