[MOD-2242] Ti.Facebook: Support loginBehavior setting
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-04-26T08:07:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.4.0 |
Components | |
Labels | android, facebook, ios, qe-5.4.0 |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2016-04-15T10:15:02.000+0000 |
Updated | 2016-07-11T18:30:44.000+0000 |
Description
We should have the ability to change the login behavior (iOS and Android), some people currently get confused by the (default) browser login.
Community PR: https://github.com/appcelerator-modules/ti.facebook/pull/46
PR to update docs and iOS default value because of [this issue](https://developers.facebook.com/bugs/786729821439894/?search_id): https://github.com/appcelerator-modules/ti.facebook/pull/51 Test steps:
Run the project on iOS and Android using the latest Ti.Facebook versions (iOS: 5.2.0, Android: 5.1.0) with both Facebook-app installed and not installed. Not installed: App should open a web dialog to login Installed: App should open the app on Android and web dialog on iOS (currently restricted by Facebook)
[~hansknoechel] remember to create a titanium_mobile PR with this new packaged Facebook module.
I have [some more features](https://github.com/appcelerator-modules/ti.facebook/milestones/ios-5.2.0,%20android-5.1.0) I want to include in that release before. Trying to have all reviewed this week.
Verified fixed, tested both cases: *iOS* Facebook App Not Installed: Login page opened through web dialog. Facebook App Installed: Login page opened through web dialog (currently restricted by Facebook). *Android* Facebook App Not Installed: Login page opened through web dialog. Facebook App Installed: Login page opened through Facebook App. Tested On: iPhone 6S (9.3.2) Device Google Nexus 6P (6.0.1) Facebook Module 5.2.0 (Android & iOS) Mac OSX El Capitan 10.11.5 Ti SDK: 5.4.0.v20160705213725 Appc Studio: 4.7.0.201607111053 Appc NPM: 4.2.8-1 App CLI: 5.4.0-29 Xcode 7.3 Node v4.4.7 *Closing ticket.*