@react-native-async-storage/async-storage
3.1.1 · 29 May 2026MIT11.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @react-native-async-storage/async-storage From 1.15.6 to 3.1.1
60 releases in betweennotes for 59
- 4+
- changes to make
- 0
- advisories fixed
- 15+
- new
- 49+
- fixes
Counted from 59 of 60 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking3.0.0
- Breaking2.0.0
- Breaking1.21.0
- Breaking1.15.17
Release by release
- Fixed
Bump native dependencies for sqlite and room
- Fixed
- New
Shared Storage artifact published to maven central
- New
- Fixed
Correctly handle "other" error for Apple platforms
- Fixed
Android to use limited parallelism from DispatcherIO, instead of using dedicated thread pools per database
- Fixed
When providing null for a key, for some reason, throw an error instead of crashing the app
- Fixed
Make example RN example work again
- Fixed
Use concurrent hashmap instead of hashmap + synchronization combo for Storage initialization on Android
- Fixed
Double check lock for legacy storage initialization on android
- Fixed
- Fixed
Include jest mock
- Fixed
- Fixed
Missing build step from CI added
- Fixed
- Breaking
Release of version v3. Please visit Async Storage docs to learn more
- Breaking
- Fixed
Fix support for React Native 0.80
- Fixed
- Fixed
Remove unnecessary
getViewManagersoverrides
- Fixed
2 other lines we could not sort, mostly version bumps
- 1.17.0
JDK11 is now required. In order to support Apple's M1 chips, we needed to bump Room to 2.4.2. This version requires
compileSdkVersionto be set to 31 in yourbuild.gradlefile, which in turn means that we now require JDK11. The recommended variant to install is Temurin 11. You can find more guide about different JDK distros at whichjdk.com. If you don't want yet to upgrade, we suggest to change the Room version in your project by specifying different Kotlin and Room version in your gradle.properties - 1.17.0
Supported version of Kotlin is now 1.6.10.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.