[TIMOB-19383] iOS9: Upgrade Facebook module to facebook 4.7.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-10-13T22:53:37.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.2.0 |
Components | iOS |
Labels | n/a |
Reporter | Chee Kiat Ng |
Assignee | Chee Kiat Ng |
Created | 2015-08-20T09:23:15.000+0000 |
Updated | 2016-02-19T00:25:05.000+0000 |
Description
Need to update our Facebook module so that:
1. It supports bitcode
2. It supports network whitelisting.
See:
https://developers.facebook.com/docs/ios/ios9
Updated Facebook API to 4.7. Bumped our titanium module ios to 5.0.0. KitchenSink PR:https://github.com/appcelerator/KitchenSink/pull/79 Master PR: https://github.com/appcelerator/titanium_mobile/pull/7292 Facebook PR:https://github.com/appcelerator-modules/ti.facebook/pull/29
Facebook Test User Accounts
||User name||User email|| |David Alajdbbcdajgf Greeneman|yuwagqj_greeneman_1444623211@tfbnw.net| |Barbara Alajeaccejfhc Carrierosky|xpgcjkg_carrierosky_1444623190@tfbnw.net| |Patricia Alajcfcffdcie Lausen|mtfzvmr_lausen_1444623189@tfbnw.net| All passwords are titaniumLionSteps to test
1. install facebook Module, you can get it from here if you don't want to build it (https://github.com/appcelerator-modules/ti.facebook/releases/tag/ios-5.0.0) 2. Run it with titanium SDK > 5.0 on KitchenSink (PR above). The KitchenSink tiapp.xml has been configured with a new Facebook app where the test users indicated can be used 3. Test everything in mashups/facebookPR tested and *approved*!
Please, read comments at github. This version crash apps and doesn't work
Cannot reproduce the crashes using 5.0.2.GA and ti.facebook 5.0.0 on iOS. Please make sure, you read the changes for replaced methods and make sure to follow the instructions to configure the module.
Step-by-step to reproduce: 1. create new mobile app project (Default Alloy Project) 2. install facebook module 5.0.0 into project 3. add var fb = require('facebook'); in controllers/index.js before $.index.open(); 4. Run on simulator iphone 4s, ios 8.4 5. After app start press "home" button and run app again. App will crash after that! MacOS 10.11 (15A284) Appcelerator Studio, build: 4.3.1.201509302304 Xcode Version 7.0.1 (7A1001) ios 8.4 Titanium SDK Version 5.0.2.GA
Verified fixed, using: MacOS 10.11.3 (15D21) Studio 4.5.0.201602170821 Ti SDK 5.2.0.v20160216202526 Appc NPM 4.2.3-2 Appc CLI 5.2.0-269 Alloy 1.7.33 Xcode 7.2 (7C68) Facebook module is currently at version 5.0.1. I was also unable to reproduce the crashes using the above environment (also with module 5.0.0 and Xcode 7.1). Tested using provided steps.