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

Not worknig redirect on iOS in childbrowser.

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

Christine Stringfield
Posts: 0
Joined: Wed Apr 03, 2013 4:35 am

Not worknig redirect on iOS in childbrowser.

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.

Christine Stringfield
Posts: 0
Joined: Wed Apr 03, 2013 4:35 am

Not worknig redirect on iOS in childbrowser.

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

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

Not worknig redirect on iOS in childbrowser.

Christine - we will test it and update.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Not worknig redirect on iOS in childbrowser.

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

Christine Stringfield
Posts: 0
Joined: Wed Apr 03, 2013 4:35 am

Not worknig redirect on iOS in childbrowser.

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.

Christine Stringfield
Posts: 0
Joined: Wed Apr 03, 2013 4:35 am

Not worknig redirect on iOS in childbrowser.

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Not worknig redirect on iOS in childbrowser.

Hi Christine,

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

Christine Stringfield
Posts: 0
Joined: Wed Apr 03, 2013 4:35 am

Not worknig redirect on iOS in childbrowser.

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.

Return to “Issues”