Facebook login problems on some ios 10.1

39 views
Skip to first unread message

Mario Barón

unread,
Oct 28, 2016, 7:25:28 PM10/28/16
to CodenameOne Discussions
Hi guys,

I want to report a problem I'm getting with the FacebookConnect API on some iOS devices with version 10.1 of iOS installed. It's currently working fine on my iPhone which has 10.1 version installed, both with the facebook app installed and without it, nevertheless when submitted to the iOS app store, the Apple testing team says that the login is not working with an iPad which has 10.1 version installed and connected to a IPv6 wifi network. 

I don't have an iPad to try it out but I did run some tests on the xcode simulators and with the 10.1 version it always comes through the loginFailed method returning an empty error message, while on a simulator with the 9.3 version of iOS working perfectly.

The app was generated with the latest version of Codename One and Netbeans plugin.


Thanks in advance.   

Shai Almog

unread,
Oct 28, 2016, 10:28:18 PM10/28/16
to CodenameOne Discussions
Hi,
I'm assuming this is a failure without the Facebook app installed. Try uninstalling Facebook and logging in to see if you can reproduce the failure.

Mario Barón

unread,
Oct 29, 2016, 9:23:54 AM10/29/16
to CodenameOne Discussions
Hi Shai,

thanks for your quick response. I tried uninstalling Facebook on my iPhone and tried again and it worked correctly, to clarify it worked with and without the Facebook app on my iPhone with iOS 10.1. I'm not sure if the Apple review team has the Facebook app installed on their test iPad, I've asked them about it and will confirm when they come back with an answer.

Shai Almog

unread,
Oct 29, 2016, 10:22:20 PM10/29/16
to CodenameOne Discussions
Hi,
there is another mode where Facebook is configured in settings and isn't configured in settings. Maybe one of those modes is failing.

Mario Baron

unread,
Oct 31, 2016, 5:16:56 PM10/31/16
to CodenameOne Discussions
Hi Shai, I've configured the facebook account on the simulator configuration as you mentioned but I still couldn't get it to work either way.

Can you please try this out, this might be an adjustment that needs tomen made on the CN1 code since iOS v10.1 is rather new, as a matter of fact I think it was released last week.

Thank you a lot for your support.

Shai Almog

unread,
Oct 31, 2016, 9:44:43 PM10/31/16
to CodenameOne Discussions
Hi,
couldn't get it to work on your device or in the simulator?
Some things don't work well in the simulator and the newer version of xcode might have issues but those shouldn't apply to device builds regardless of device type.
Reply all
Reply to author
Forward
0 new messages