You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
Open ios/PhotoBrowserExample/AppDelegate.m file. Remove the comment characters from line 44.
Now repeat all the steps between 7 and 11. You'll see that images will be reloaded after every time you relaunch the app. You'll see that the app's storage usage will go like 1 MB from 38.4 MB.
I tried removing dev mode, building the app with release option but none of them helped. I can see http cache headers in flickr http responses.
Notes:
I can't reproduce the problem when cached image storage is below 10 MB.
Tried on react-native versions 0.27.2, 0.26.3 and 0.25.1.
Tried changing image url protocols to http.
The text was updated successfully, but these errors were encountered:
Working scenario:
cd react-native-photo-browser/Example
git checkout cache_test
npm install
ios/PhotoBrowserExample.xcodeproj/project.pbxproj
ios/PhotoBrowserExample/AppDelegate.m
file and changejsCodeLocation
value using the IP address of your machine.Problem scenario:
react-native bundle --minify --entry-file index.ios.js --platform ios --bundle-output ios/main.jsbundle
ios/PhotoBrowserExample/AppDelegate.m
file. Remove the comment characters from line 44.Now repeat all the steps between 7 and 11. You'll see that images will be reloaded after every time you relaunch the app. You'll see that the app's storage usage will go like 1 MB from 38.4 MB.
I tried removing dev mode, building the app with release option but none of them helped. I can see http cache headers in flickr http responses.
Notes:
The text was updated successfully, but these errors were encountered: