Skip to content

feat: add support for additional platforms in react-native-libraries.…#1854

Merged
Simek merged 2 commits intoreact-native-community:mainfrom
gabriel-logan:main
Aug 29, 2025
Merged

feat: add support for additional platforms in react-native-libraries.…#1854
Simek merged 2 commits intoreact-native-community:mainfrom
gabriel-logan:main

Conversation

@gabriel-logan
Copy link
Copy Markdown
Contributor

…json and fix not support for new arch

📝 Why & how

I just updated the compatibility of my libraries for the directory file.

✅ Checklist

  • Added library to react-native-libraries.json
  • Updated library in react-native-libraries.json
  • Documented in this PR how to use the feature or replicate the bug.
  • Documented in this PR how you fixed or created the feature.

Copy link
Copy Markdown
Member

@Simek Simek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @gabriel-logan, thanks for updating the package entries! 👍

When it comes for out-of-tree platform support, we require an example or demo app created with a given platform package, see:

Can you provide some links for such examples?

@gabriel-logan
Copy link
Copy Markdown
Contributor Author

Hello @gabriel-logan, thanks for updating the package entries! 👍

When it comes for out-of-tree platform support, we require an example or demo app created with a given platform package, see:

Can you provide some links for such examples?

I see, the libraries I mentioned support for these platforms use pure Common JS, so they would be compatible. I don't have any demos here. If it's mandatory, I can remove these compatibility features and just edit the others.

@gabriel-logan
Copy link
Copy Markdown
Contributor Author

These are the mandatory ones to have a demo, right?

Windows,
MacOS,
TVOS,
Visions

@Simek
Copy link
Copy Markdown
Member

Simek commented Aug 28, 2025

I see, the libraries I mentioned support for these platforms use pure Common JS, so they would be compatible.

It's a true statement for most of the packages, but there were a few cases before, when pure JS libraries have some issues on one or more out-of-tree platforms, that's why we decided to require confirmation via code.

These are the mandatory ones to have a demo, right?

Yup, that's the list. Most of the out-of-tree platforms offer a start template, which should make testing quite straight forward. We can also revert them for now, and add the compatibility later in time, when you have a opportunity to check this out.

Copy link
Copy Markdown
Member

@Simek Simek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates! 🚀

@Simek Simek merged commit fd0f44f into react-native-community:main Aug 29, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants