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.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi Christine - share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a we'll take a look.
It is shared.
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.
So this change seemed to work for Android, but not iOS...I am still experiencing an issue with iOS. Any suggestions on fixing this?
Christine - we will test it and update.
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
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.
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.
Hi Christine,
Please check if you've changed "Tiggzi" to "Appery" in your app links and on Facebook.
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.