Async storage returning null , when running through visionOs #145
-
My current react native application uses mmkv and async storage. It is building and running properly if I build it through iOS (visionPro (designed for iphone)). But when I try to run it from visionOs im getting error of : `Invariant Violation: "Skiply" has not been registered. This can happen if:
ERROR Error: [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null. To fix this issue try these steps: • Uninstall, rebuild and restart the app. • Run the packager with • If you are using CocoaPods on iOS, run • Make sure your project's • If this happens while testing with Jest, check out how to integrate AsyncStorage here: https://react-native-async-storage.github.io/async-storage/docs/advanced/jest If none of these fix the issue, please open an issue on the GitHub repository: https://github.com/react-native-async-storage/async-storage/issues` when I try removing the package it bypasses but MMKV returns an error : ` Error: Failed to create a new MMKV instance: The native MMKV Module could not be found.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, It looks like visionOS support was introduced to Regarding MMKV, it looks like it doesn't have official visionOS support. |
Beta Was this translation helpful? Give feedback.
Hey,
It looks like visionOS support was introduced to
@react-native-async-storage/async-storage
with this PR: react-native-async-storage/async-storage#1063 Can you check if you are running the latest version?Regarding MMKV, it looks like it doesn't have official visionOS support.