Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3240] Facebook does not detect when app cannot suspend/resume on iOS 4

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T02:01:16.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-10
ComponentsiOS
Labelsfacebook, ios, release-1.7.0
ReporterStephen Tramer
AssigneeStephen Tramer
Created2011-04-15T03:40:11.000+0000
Updated2012-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

FileDateSize
titanium.plist2011-04-15T03:40:12.000+00001721

Comments

  1. Jeff Haynie 2011-04-15

    (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...

  2. Stephen Tramer 2011-04-15

    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.

  3. Natalie Huynh 2011-04-15

    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

JSON Source