GitHub Issue | n/a |
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-06-25T15:28:55.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | Sprint 2012-13 API, Release 3.0.0 |
Components | iOS |
Labels | api, qe-acs060112, qe-port |
Reporter | Mukesh Gadiya |
Assignee | Blain Hamon |
Created | 2012-06-22T17:28:19.000+0000 |
Updated | 2012-08-07T17:06:49.000+0000 |
UPDATE UPDATE: Changing this from a crasher to a feature request to compensate for setting facebook module's appID to a number, not a string.
UPDATE: this test fails on all Ipad 1 - 5.1.1, Ipad 2 - 4.3.5 and Ipad 3 - 5.1.1
Clicking on Users->Social->External Link->Login with facebook
Repro steps:
1. Switch to DNS: 184.73.81.90 on IPad
1.5 edit Resources/windows/social/externalLink.js and set Ti.Facebook.appid to 378694535499807
b. edit Resources/windows/social/externalLogin.js and set Ti.Facebook.appid to 378694535499807
2. launch ti.cloud sample app
3. click on Users->Social->External Link->Login with facebook
Actual:
App quits, crash log is attached.
Expected:
Bring up facebook login window
Note: This works correctly on android ICS galaxy nexus
Please try logging in to facebook on this device with the kitchen sink app first. The Cloud example app simply calls the Facebook api in platform to create the button and perform the login when clicked. It isn't until receipt of the 'login' event that the token is passed to ACS.
The stack trace in the 3rd crash log shows that the issue is in the facebook code. This does not appear to be a ti.cloud module issue.
Update: I am NOT able to reproduce this issue in kitchensink as well as any other brand new mobile app with example files copied from ticloud 2.1.0 module folder, with the same SDK build, IDE and ticloud module builds. I can only reproduce this issue consistently with the attached zipped application. environment: SDK: 2.1.0.v20120622174154 Studio: 2.1.0.201206221045 tiCloud 2.1.0 xCode 4.3.2/3 OS: Lion 10.7.3 Devices: Iphone4s, Ipad1/2/3 with iOS 4.3.2 and 5.1
Attached is the zipped application file which is consistently failing for FB linking issue.
Tried on both device and simulator, login comes up with no issues. Can't reproduce. :(
Blain, Can you try with attached zip app and see if you can reproduce?
The test JS was using " Ti.Facebook.appid = 378694535499807;" HOWEVER, the docs say Ti.Facebook.appid must be a string. If the test JS uses " Ti.Facebook.appid = '378694535499807';" the app runs fine.
Lowering priority since this is not a regression, but now an edge case.
Pull https://github.com/appcelerator/titanium_mobile/pull/2468 pending.
Merged to master but no fixversion 2.2.0 yet.