Lost data on iOS after releasing an update
See original GitHub issueCurrent behavior
Our app uses async-storage to store JSON serialised data. It’s really not getting any more complicated than AsyncStorage.getItem
and AsyncStorage.setItem
. After we release an update we get complaints from users who lost their data. These complaints are consistently tied to when we release a new version of the app.
Expected behavior
AsyncStorage.getItem
to “recognise” data from before the update.
Repro steps
We haven’t been able to reproduce it the issue ourselves entirely, but based on the support requests it’s something along the following:
- Open app on iOS device
- Release new version of app
- Start update on device, but don’t finish it yet (so unplug internet for example)
- Perform an action in the iOS device which triggers
AsyncStorage.setItem
. - Finish update
- Reopen app
- Data is gone
Environment
- Async Storage version: ^1.7.1
- React-Native version: 0.61.5
- Platform tested: iOS
- Logs/Error that are relevant: -
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:17 (1 by maintainers)
Top Results From Across the Web
How to Recover Files Disappeared from iPhone after Update ...
Method 1: Restore Lost Data after iOS 16 Update using iTunes Backup. If you're having a "files disappeared from iPhone" issue after installing ......
Read more >How to Recover Lost Data after iOS 16/15 Update - Tenorshare
1. First of all, you have to erase all your content. · 2. Enter your passcode to confirm your decision. · 3. You...
Read more >How to recover lost data from iPhone after iOS update
Option 1: Recover Missing Data from iPhone after iOS Update ... Run the program. Select the "Recover from iOS Device" mode on the...
Read more >Recover Lost Data from iPhone/iPad after iOS 11/12 Update
Lost important data during iOS upgrade? This post shares easy ways to recover lost data from iPhone/iPad after iOS 11/12 update.
Read more >3 Available Ways to Recover Files After iOS Upgrade - MiniTool
Way 2: Recover Files from iCloud Backup after iOS Update ... To restore lost data from iCloud backup, you need to make sure...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Having similar issues that I’m unable to reproduce and seems to be a lot of users on iOS 13.5.1 with iPhone 11s (but that’s could be coincidental as it’s a popular combination).
Started in early June with switching to community version of AsyncStorage on RN 0.62.2 and now users are logged out without knowing it and not receiving push notes. I will post here if I can find anything useful.
I’m still trying to get more information on this