[TIMOB-3240] Facebook does not detect when app cannot suspend/resume on iOS 4
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T02:01:16.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-10 |
Components | iOS |
Labels | facebook, ios, release-1.7.0 |
Reporter | Stephen Tramer |
Assignee | Stephen Tramer |
Created | 2011-04-15T03:40:11.000+0000 |
Updated | 2012-05-23T15:33:02.000+0000 |
Description
Under iOS 4, the Facebook login auth process only checks to see if backgrounding is available, not if backgrounding is available for the specific app running. If an app is unable to pause/resume from background (UIApplicationExitsOnSuspend is set 'true') then the FB login process will fail and cause the app to shutdown/reboot instead.
Need to fix this so that dialog auth is forced in this situation.
Attachments
File | Date | Size |
---|---|---|
titanium.plist | 2011-04-15T03:40:12.000+0000 | 1721 |
(from [95659f26a1d76bf1dc8df9dfe2dafd5bed8905da]) [#3240 state:fixed-in-qa] Check for UIApplicationExitsOnSuspend key in FB authorization process. https://github.com/appcelerator/titanium_mobile/commit/95659f26a1d76bf1dc8df9dfe2dafd5bed8905da"> https://github.com/appcelerator/titanium_mobile/commit/95659f26a1d7...
TESTING
Place the attached file in iphone/iphone, build and run KS from the Titanium.xcodeproj project. This plist modifies the app so that it quits on suspend; there is currently no way to do this in a Titanium project.
Tested with Titanium SDK version: 1.7.0 (03/17/11 10:02 630a276) on
iPhone4 4.3, used the above plist and verified UIApplicationExitsOnSuspend is set 'true', can log in without shutting down