forked from facebook/facebook-ios-sdk
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ios-sdk] Fix bug where place picker cache descriptor was ignoring se…
…archText; fix Scrumptious to call it correctly. Summary: Two bugs conspired to make caching inconsistent in Scrumptious. Scrumptious was passing "restaurant" as the search text for the place picker, but not passing it when creating a cache descriptor for background loading. The cache descriptor itself was also not properly using the searchText to build its URL. Fixed both of those. Also fixed Scrumptious to be less strict in the accuracy it wants, and don't fill the cache from intermediate low-accuracy location updates to avoid unnecessary network traffic. Test Plan: - Ran unit tests - Ran Scrumptious on device, did not notice delay when displaying places as I did without this fix Revert Plan: Reviewers: jacl, mmarucheck, gregschechte, ayden Reviewed By: jacl CC: msdkexp@ Differential Revision: https://phabricator.fb.com/D540969
- Loading branch information
Chris Lang
committed
Aug 6, 2012
1 parent
e59c19d
commit cc22139
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters