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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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:
AppRegistry.registerComponent
wasn't called., js engine: hermesBUNDLE ./index.js
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
--reset-cache
flag.• If you are using CocoaPods on iOS, run
pod install
in theios
directory, then rebuild and re-run the app.• Make sure your project's
package.json
depends on@react-native-async-storage/async-storage
, even if you only depend on it indirectly through other dependencies. CLI only autolinks native modules found in yourpackage.json
.• 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.
npx react-native config
to verify)pod install
in the ios/ directory.LOG Running "Skiply" with {"rootTag":121,"initialProps":{}}
ERROR Invariant Violation: "Skiply" has not been registered. This can happen if:
AppRegistry.registerComponent
wasn't called., js engine: hermes`Beta Was this translation helpful? Give feedback.
All reactions