-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Async Storage not working for Windows New Arch #14347
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
Comments
Hey thanks for raising this issue. This is not expected, will investigate this locally. Couple of questions:
|
Another follow up - what is the version of VS 2022 you are using? |
I couldn't get the example app working - but it does run through VS so I'll close this out. Does that mean that we can't use the command line again for the new arch? There's always errors when running |
Just to clarify, was the example able to launch through VS? Or were you just able to build the solution? The error message you're getting is also present in other New Architecture apps, which we are looking into. Can you let me know what your version of Visual Studio is? |
@jonthysell Might be a CLI issue. Yajur will do some initial testing and we will circle back. |
Update: This is a known issue with the New Architecture tracked here: #13599. It looks like only the first time you run from the CLI the error message will come up - can you try running |
@Yajur-Grover - yes that's exactly the issue. I'll close this out. Thanks for your help on this one! |
Problem Description
Hi,
When using the new arch on Windows, async storage crashes the build once installed
It looks like there's also an open bug here which hasn't had any activity: react-native-async-storage/async-storage#1174
Raising this here as it looks like it's maintained by Microsoft due to this PR react-native-async-storage/async-storage#1147 from @Yajur-Grover
Should this be working with RN v0.77?
Steps To Reproduce
Expected Results
Async storage is useable with Windows New Arch
CLI version
15.0.1
Environment
Community Modules
None - just started a blank app and only installed Async Storage
Target Platform Version
None
Target Device(s)
Desktop
Visual Studio Version
Visual Studio 2022
Build Configuration
Debug
Snack, code example, screenshot, or link to a repository
No response
The text was updated successfully, but these errors were encountered: