Skip to content

[iOS] Add Image query cache result type#23608

Closed
zhongwuzw wants to merge 2 commits intofacebook:masterfrom
zhongwuzw:add_cache_type
Closed

[iOS] Add Image query cache result type#23608
zhongwuzw wants to merge 2 commits intofacebook:masterfrom
zhongwuzw:add_cache_type

Conversation

@zhongwuzw
Copy link
Copy Markdown
Contributor

Summary

In iOS, seems we have no ways to check wether the cached item is from disk or memory, only storagePolicy == NSURLCacheStorageAllowedInMemoryOnly we can think it's from memory. So we need to add a new result like disk/memory?

Changelog

[iOS] [Added] - Add Image query cache result type

Test Plan

If we can't check cached item from disk or memory, return "disk/memory".

@zhongwuzw zhongwuzw requested a review from shergin as a code owner February 23, 2019 03:05
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 23, 2019
Copy link
Copy Markdown
Contributor

@cpojer cpojer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Feb 25, 2019
Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @zhongwuzw in 5bc9c9b.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 25, 2019
@hramos hramos removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Component: Image Merged This PR has been merged. Platform: iOS iOS applications.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants