question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warning: AsyncStorage has been extracted from react-native core

See original GitHub issue

Current 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

  1. Adding @react-native-community/async-storage using yarn
  2. 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:closed
  • Created 4 years ago
  • Reactions:8
  • Comments:24 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
michaelsinatracommented, Apr 10, 2019

@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

2reactions
krizzucommented, Apr 12, 2019

No problem, great work finding it 👏

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found