Closed okwasniewski closed 1 month ago
I just tried to integrate this RN package:
npmjs.com/package/@meteorrn/core
which requires AsyncStorage:
@react-native-async-storage/async-storage@>=1.8.1
I had to "force" install the packages, since they are not built for the react-native version you're using, so problems were to be expected.
I ended up with this error message:
I installed the Pods, but the error remains. So I assume that this package is not supported yet?
@derwaldgeist
Unfortunately, it's not supported yet. I wrote a blog post on how to contribute visionOS support for react-native third-party modules: https://www.oskarkwasniewski.dev/blog/bringing-react-native-libraries-to-apple-vision-pro
Thanks for the super-fast response, highly appreciated. I'll have a look at the blog post!
The approach you decribed in your blog worked. However, the package also soft-requires @react-native-community/netinfo
, which in turn requires CoreTelephony to detect connection breakups. That's not supported by visionOS, however. So I'll have to find a workaround for this or live without an auto-reconnect. Thanks again for the great work! That's way more than I expected at this early stage.
react-native-screens
is missing it atm. I tried to install react-navigation
but it always gives an error: require native component rnsscreenstackheaderconfig was not found in the UIManager
and when I checked the podfile, RNScreens
was missing different between ios and visionos. @okwasniewski
Hey @Sly777,
I'm still working on the PR: https://github.com/software-mansion/react-native-screens/pull/2025
I'm hoping to get it merged today 🤞
AWEEESSSOMEEEEEEE 🔥 🔥 @okwasniewski
Hey @derwaldgeist just FYI, @react-native-community/netinfo
now also has support for visionOS: https://github.com/react-native-netinfo/react-native-netinfo/pull/714
CoreTelephony
is not supported indeed, but then it falls back to the lower-level ifaddrs
, which is the same approach done for macOS, tvOS and Catalyst, since they also do not support telephony
Looks like https://github.com/facebookincubator/SocketRocket/releases/tag/0.7.1 has been released!
Merging this PR should close the issue: https://github.com/facebook/react-native/pull/46300
PR merged!
Description
In this issue I want to track Pods that are still missing
visionOS
support that we needed to patch by adding Podspec throughthird-party-pods
:SocketRocket
: https://github.com/facebookincubator/SocketRocket/pull/669