Comments (1)
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)
- Accessibility focus order in React Native
- a good waterfall list component "react-native-waterfall-flow"
- Add handlers for different events when you press keyboard button
- Iframe isn't loading when source is html - iOS only HOT 1
- Replacing TSLint with ESLint in react-native's source? HOT 2
- New functionality and for be better then other platforms
- CSS Variables for React Native
- React Native Not Showing Last Record Entered HOT 1
- LibWebP vulnerability affecting react native apps HOT 4
- Add duration parameter to Animated.spring
- Support for basic structures such as Splash Screen, App Icon, Package Name
- The way scroll views work in react native is extremely unintuitive
- [0.73] Experimental New Debugger — Known Issues and Feedback
- synchronous JSI call and remote debugging HOT 5
- Alert prompt support for Android would be handy HOT 2
- WeakRef support HOT 5
- (Feature): Add SWC support
- API to detect if 'Developer Options' are enabled in Android HOT 2
- [Web] Avoid react updates on each animation frame HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discussions-and-proposals.