-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A Problem occured update project : AsyncStorage has been removed from react-native core. #955
Comments
Hi folks, is this reproducible with a new project? I suspect what's happening is that one of your dependencies are still using |
I changed according to the error message but it still doesn't work. |
Hi, what I'm trying to say is that you may have a dependency A that is still using the old |
What if I have multiple files in that folder? Can you suggest an easy way to check? |
This depends on your workflow. If you're using VS Code, you can use the built-in search feature: https://code.visualstudio.com/docs/editor/codebasics#_search-across-files If you're used to the terminal, you can use: |
Not worked this one also |
is there any update to support react native version 71, blocked to use async storage |
Not yet bro |
@MrLokeshKumar @hkrvikrant if you checked the release notes, you'd know that RN71 is supported since 1.17.11 https://github.com/react-native-async-storage/async-storage/releases/tag/v1.17.11 and RN72 from 1.18.1 https://github.com/react-native-async-storage/async-storage/releases/tag/v1.18.1 @tido64 explained to you were the error comes from (and the error message itself did too), and it's related to you having still imports of the type:
It's not an issue with the library, so this issue should be closed. |
i have installed the new dependency and also changed the import to the below, but i still encouter the same error import AsyncStorage from '@react-native-async-storage/async-storage'; |
I checked the node_modules for any occurence of "import {AsyncStorage} from "react-native" or "import { AsyncStorage } from "react-native" or "import AsyncStorage from "react-native". I still get an error event for the Async storage. |
@JovanSr Did you find any solution? |
Honestly, I didn't find any solution.
…On Tue, Oct 10, 2023, 11:08 PM Herik Arismendy ***@***.***> wrote:
@JovanSr <https://github.com/JovanSr> Did you find any solution?
—
Reply to this email directly, view it on GitHub
<#955 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVVBD3XEQXTH2YYN7DM43BLX6XBM3AVCNFSM6AAAAAAWU6L44KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGMZTMMZVHA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
getting same issue even though I am not using AsyncStorage anywhere in my code. |
This issue occurs when something, it doesn't have to be your own code, is using AsyncStorage from React Native. It could be a dependency, or it could be a dependency of another dependency. There are a couple of things you can do to figure out where it's coming from:
I am going to lock this conversation now because people keep coming in asking for a solution without reading the whole thread. To be perfectly clear, this is not a bug in AsyncStorage. It is a bug in your project. |
What happened?
getting this issue when i'm trying to update one of my project.
Version
1.17.11
What platforms are you seeing this issue on?
System Information
Steps to Reproduce
I'm getting this issue when i' trying to update package
from
"@react-native-async-storage/async-storage": "~1.15.0",
to
"@react-native-async-storage/async-storage": "1.17.11",
The text was updated successfully, but these errors were encountered: