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

feat: option to add nitro views #805

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

Juozas-Petkelis
Copy link

Summary

  • Introduces the option to add a Nitro View Component when scaffolding a new library with create-react-native-library.

    Nitro View selection during setup Nitro view selection
  • Updates the example app generation for nitro modules to set the minimum iOS deployment target to 16.0 for both the project and its native dependencies. This change addresses an Xcode 12.2 compatibility issue where Nitro modules failed to build with the previous default target of iOS 15.1.

  • Updated the fallback Nitro Modules version to 0.25.2

Test plan

  1. clone branch
  2. create new library with bin/create-react-native-library
  3. generate nitrogen yarn nitro-codegen and build example app for both platforms
Example App
iOS Screenshot Android Screenshot
iOS Screenshot Android Screenshot

@Juozas-Petkelis Juozas-Petkelis requested a review from atlj March 28, 2025 14:49
@satya164
Copy link
Member

Hey @Juozas-Petkelis , remember to add the template to the CI matrix

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