Skip to content
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

Missing Pods #15

Open
okwasniewski opened this issue Oct 20, 2023 · 8 comments
Open

Missing Pods #15

okwasniewski opened this issue Oct 20, 2023 · 8 comments

Comments

@okwasniewski
Copy link
Member

okwasniewski commented Oct 20, 2023

Description

In this issue I want to track Pods that are still missing visionOS support that we needed to patch by adding Podspec through third-party-pods:

@derwaldgeist
Copy link

derwaldgeist commented Jan 11, 2024

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:

image

I installed the Pods, but the error remains. So I assume that this package is not supported yet?

@okwasniewski
Copy link
Member Author

okwasniewski commented Jan 11, 2024

@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

@derwaldgeist
Copy link

Thanks for the super-fast response, highly appreciated. I'll have a look at the blog post!

@derwaldgeist
Copy link

derwaldgeist commented Jan 11, 2024

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.

@Sly777
Copy link

Sly777 commented Feb 13, 2024

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

@okwasniewski
Copy link
Member Author

Hey @Sly777,

I'm still working on the PR: software-mansion/react-native-screens#2025

I'm hoping to get it merged today 🤞

@Sly777
Copy link

Sly777 commented Feb 14, 2024

AWEEESSSOMEEEEEEE 🔥 🔥 @okwasniewski

@thiagobrez
Copy link

Hey @derwaldgeist just FYI, @react-native-community/netinfo now also has support for visionOS: react-native-netinfo/react-native-netinfo#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants