[Sentry] Error: database or disk is full (code 13 SQLITE_FULL) #9670
Labels
area-Sentry
Issue from Sentry
regression-prod-7.21.0
Regression bug that was found in production in release 7.21.0
release-7.21.0
Issue or pull request that will be included in release 7.21.0
release-7.27.1
Issue or pull request that will be included in release 7.27.1
Sev1-high
An issue that may have caused fund loss or access to wallet in the past & may still be ongoing
team-mobile-platform
type-bug
Something isn't working
Sentry Issue: METAMASK-MOBILE-2CVQ
Technical Details
In this iteration, we should migrate
async-storage-wrapper.js
to accessMMKV
instead of AsyncStorage since it doesn't have the limitations that AsyncStorage has. To do so, we should leveragegetItem
,setItem
, andremoveItem
from the wrapper class to perform this migration. In each method.getItem
-> Attempt to access key inMMKV
. Then fallback to getting key via AsyncStorage. Set item inMMKV
if we're able to get the key successfully from AsyncStorage.setItem
-> Replace storage withMMKV
removeItem
-> Also remove item fromMMKV
Acceptance Criteria
The text was updated successfully, but these errors were encountered: