Coder Social home page Coder Social logo

Comments (1)

cipolleschi avatar cipolleschi commented on June 10, 2024

Hi @iTonyYo, thanks for the question.

I understand your struggle and I do agree that it would be a better world. However, with our current setup, this is not achievable. React Native is a collection of dependent pods from Cocoapods and, as of today, cannot be archived as a single XCFramework. You will have to deal with ~30 separate XCFrameworks and, at that point, it would be much much harder.

We have plan in the future to improve the integration between React Native and Native application, so, please, bear with us.
Meanwhile, Integrating a React Native in an app is a matter of properly create a Podfile using the use_react_native! and the react_native_post_install hook and to extend the RCTAppDelegate class.

As inspiration, you can look at our template.

You should be able to integrate React Native even if the app is not in the ios folder: just pass the proper parameters to the use_react_native! function. We are doing that in the RNTester app, for example.

from discussions-and-proposals.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.