Please sign in to comment.
[ios-sdk] Pickers should update their state when the active session c…
…hanges. Summary: Pickers can track the activeSession but were not disposing of their old state when the active session changed, meaning they might still contain data that the new session should not have access to. Fixed both pickers to forget about any data they had, reset their selection, and reset their paging loaders whenever the active session goes away. They will check in loadData whether they need to update their notion of session depending on whether they were tracking the activeSession or not. Test Plan: - Ran unit tests - Ran Scrumptious - Logged in and out and verified that selection states and displayed data reflected activeSession state - Ran FriendPickerSample - Ran PlacePickerSample Revert Plan: Reviewers: jacl, mmarucheck, gregschechte, ayden Reviewed By: jacl CC: msdkexp@, platform-diffs@lists Differential Revision: https://phabricator.fb.com/D536058 Task ID: 1217636
- Loading branch information...
Showing with 111 additions and 11 deletions.