Affects Version/s: Release 5.4.0, Release 5.5.0
Fix Version/s: Release 5.5.0
also tested on 5.4.0.GA
Mac OS X 10.11.6
Xcode 8 GM
Tested on Device running iOS 10.0.1 GM and on Simulator 10.0 (XCode 8 GM)
Sprint:2016 Sprint 19 SDK
Facebook login using the latest FB Modules is not working anymore on devices running iOS 10.
We have catch this behavior on our production published app running the Facebook Module (5.2.0) and Ti SDK 5.3.0.
We have tested this behavior on Ti SDK 5.2.0.GA up to 5.5.0 RC and all present the same behavior.
Steps to Reproduce
- Use a button for Facebook login (using the fb.authorize method).
- The button opens the SafariView with the Facebook App Authorization site.
- Tap OK button.
- The SafariView gets a blank page and doesn't get dismissed.
- If you tap the DONE button, the view is dismissed but the is not logged in.
Normal FB login flow where you tap the OK button on the SafariViewController opened by the Facebook module, the SafariViewController gets dismissed, the login event is fired with the user logged in.
Follows a very simple app using the Facebook Module displaying this issue.
Please remember to setup the proper Facebook App ID parameters on tiapp.xml on the iOS section together with LSApplicationQueriesSchemes and NSAppTransportSecurity as per Facebook Ti module instructions.
This is critical since iOS 10 final is to be released next week and this completely breaks Facebook login.