Please sign in to comment.
Add FBSession handleDidBecomeActive to better handle scenarios where …
…users decline or do not complete app-switch authorizations. Summary: Add FBSession handleDidBecomeActive to better handle scenarios where users decline or do not complete app-switch authorizations. Consumers should call this method from their application delegate's 'applicationDidBecomeActive:' in a similar way as the 'handleOpenUrl:'. This method uses new internal state to clean up any incomplete (re) authorizations and takes into account the new iOS 6 system authorization. Test Plan: I. Ran unit tests in sdk core. II. Scrumptious testing (Test Matrix) For: 1) ios6 device with system authorization 2) ios6 device w/o system authorization but with facebook app login 3) ios6 simulator using safari login fallback performed: a) login->accept auth; post->accept auth; verify post. b) login->decline/ignore; re-open app->login again; verify app state. c) after login; post->decline/ignore auth; verify app state; post again->accept auth; verify post. III. Verified SessionLoginSample Revert Plan: Reviewers: jacl, clang Reviewed By: jacl Differential Revision: https://phabricator.fb.com/D582040 Task ID: 1752513
- Loading branch information...
Showing with 72 additions and 20 deletions.