-
Notifications
You must be signed in to change notification settings - Fork 466
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
ERROR Error: [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null. #1165
Comments
I encountered this issue with Android Please help me to resolve this issue. What platforms are you seeing this issue on?
|
Same here+ |
Same here+ for Android. |
Same here, on Android |
Downgrade to 0.76.3, and full rebuild. |
Same here, on Android |
Same here, Android "@react-native-async-storage/async-storage": "1.23.1" Update: even with 2.1.0 |
But I'm on react-native: 0.76.3 |
@MuhammadrizoDeveloper Did you upgrade to RN 0.76.4 and then downgrade back to 0.76.3? Deleting |
Probably the building corder of Android (with generated follet from codegen)
Le lun. 9 déc. 2024 à 12:36, Ebisuzawa Kurumi ***@***.***> a
écrit :
… @MuhammadrizoDeveloper <https://github.com/MuhammadrizoDeveloper> Did you
upgrade to RN 0.76.4 and then downgrade back to 0.76.3?
Deleting node_modules and android for some reason did not fix the problem
for me, so I had to delete my project folder and clone from my last commit.
—
Reply to this email directly, view it on GitHub
<#1165 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2FHUP3S5SSLDRMUQ2ZK5L2EV6CDAVCNFSM6AAAAABS3BV5AKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRXGY3TGNRVG4>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Hey guys , so after some investigation i found that a breaking change was added in 0.76.4 , and this commit is the source : facebook/react-native@8886f15#diff-c27f12d86f04bebb804a683579663a8e431cd1d149ed42e38acaada75365c440 revert this change an everything shall work as expected. |
Hi everyone, What should I do, if this issue is related to react-native or async storage. |
Hi Guys, |
@AKA-Muhannad I did but I am having same on android emulator, otherwise it is working on ios side |
What happened?
Hi everyone,
I encountered an issue with
@react-native-async-storage/async-storage
. When running my React Native application, I get the following error when I run it on iOS 17.5 Simulator:I have tried all the recommended solutions but the error persists:
--reset-cache
flag.pod install
in theios
directory (using CocoaPods).@react-native-async-storage/async-storage
is listed as a dependency in mypackage.json
.node_modules
,yarn.lock
, andpackage-lock.json
files.yarn cache clean
.yarn install
and rebuilt the project.Environment Details
Expected Behavior
The app should correctly recognize the AsyncStorage NativeModule and work as expected.
Actual Behavior
The error
NativeModule: AsyncStorage is null
is displayed, and the app does not function correctly.Additional Information
If there are any additional steps I could try or if there's a known workaround, please let me know.
Thank you for your help!
Version
v2.1.0
What platforms are you seeing this issue on?
System Information
Steps to Reproduce
Here’s an updated issue description with the Steps to Reproduce section:
Description of the Issue
I encountered an issue with
@react-native-async-storage/async-storage
. When running my React Native application, I get the following error:Steps to Reproduce
Create a new React Native project or use an existing one.
Install
@react-native-async-storage/async-storage
by running:On iOS:
ios
folder and runpod install
.yarn run-ios
.Attempt to use
AsyncStorage
in the app. Example:The text was updated successfully, but these errors were encountered: