Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Not worknig redirect on iOS in childbrowser.

Hi, still no news, we'll continue working on it.

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

Not worknig redirect on iOS in childbrowser.

Hi, I think there is an issue with localStorage and PhoneGap. The Facebook tutorial provided by Appery works fine for mobile web logins, and on the desktop browsers, but does not work in the Android & iOS versions. Calling localStorage from within the InAppBrowser or ChildBrowser does not save to localStorage in the app itself.

The problem I have been experiencing is very similar to this:

http://www.marshut.com/iumuh/localsto...

I found a workaround that seemed suitable. instead of saving the Facebook code to localStorage, I saved the code to an invisible label component on the startScreen. Then when the user clicks on a "Get Started" button (only visible after the user successfully logs in), this event will save the label text to localstorage, and I can then proceed as normal with my app.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Not worknig redirect on iOS in childbrowser.

Hi Christine! Thank you for update!

Return to “Issues”