[TIMOB-23897] iOS: Support Ti.Facebook 5.2.5 on Titanium SDK < 5.5.0
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-09-13T19:54:45.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 5.5.0 |
| Components | iOS |
| Labels | facebook, ios |
| Reporter | Hans Knöchel |
| Assignee | Hans Knöchel |
| Created | 2016-09-13T08:10:06.000+0000 |
| Updated | 2016-09-16T18:01:42.000+0000 |
Description
Because of the changes in TIMOB-23890, we made major core-changes that required the module to run on Titanium SDK 5.5.0 or later. I can think of a fix to support it on Titanium SDK < 5.5.0 (down to 5.0.0) as well. That fix should be applied.
PR: https://github.com/appcelerator-modules/ti.facebook/pull/66
Steps to test (from TIMOB-23890)
Scenario A: Use the case above. It will fail to log in without crashing. Scenario B: Using the same case, follow these instructions to include a appname.entitlements inplatform/ios: {quote} *Using Facebook module with iOS 10 and Xcode 8* To log in using facebook, we now have to include an entitlements file that enables Keychain Sharing Capabilities. To do so, create a/platform/ios/<appname>.entitlementsfile with this content {quote}5_5_X PR: https://github.com/appcelerator/titanium_mobile/pull/8372 6_0_X PR:https://github.com/appcelerator/titanium_mobile/pull/8373 master PR: https://github.com/appcelerator/titanium_mobile/pull/8374 facebook PR: https://github.com/appcelerator-modules/ti.facebook/pull/66 APPROVED.
Verified fixed with: NPM Version: 2.15.1 Node Version: 4.4.3 Mac OS: 10.11.2 Appc CLI: 5.5.0 Appc CLI NPM: 4.2.7 Titanium SDK version: 5.5.0.GA Appcelerator Studio, build: 4.7.1.201609100950 Xcode 8.0 GM Using multiple samples, was able to log in and post with Facebook 5.2.5 module.
Issue still exists, please reopen this issue.