Warning: AsyncStorage has been extracted from react-native core
See original GitHub issueCurrent behavior
After having switched to React Native Community Async Storage via
yarn add @react-native-community/async-storage
and having updated its usage using
import AsyncStorage from '@react-native-community/async-storage';
I still get the yellow box saying that “AsyncStorage has been extracted from react-native core and will be removed in a future release”. This happens on both iOS and Android
Expected behavior
The yellow box shouldn’t appear
Repro steps
- Adding @react-native-community/async-storage using yarn
- Importing it and running the application
Environment
- Async Storage version: 1.2.4
- React-Native version: 0.59.4
- Platform tested: iOS and Android
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:24 (8 by maintainers)
Top Results From Across the Web
Async Storage has been extracted from react-native core...'?
Note you can get this warning if you are using a dependency that uses AsyncStorage and still imports it the old way from...
Read more >Async Storage has been extracted from react-native core #5953
FR: Async Storage has been extracted from react-native core #5953 ... regarding AsyncStorage. Here the warning log is attached below.
Read more >AsyncStorage has been extracted from react-native ... - Lim Sing
[Solved] Warning: AsyncStorage has been extracted from react-native core and will be removed in a future release. Solved by: Change import {AsyncStorage} ...
Read more >How to remove AsyncStorage warning when using Firebase ...
AsyncStorage has been extracted from the react-native core and will be removed in a future release ... ss1. Firebase SDK uses the AsyncStorage...
Read more >Annoying warning that won't disappear in react native - Reddit
"AsyncStorage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from ......
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
@Krizzu tried it and it’s working fine.
It seems that this happens on apps that were using the old AsyncStorage and then switch to the new one
No problem, great work finding it 👏