From ecf2df48aeaecf1053d6ad9ba4d3a4a4dff43d9a Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Tue, 25 Oct 2016 02:23:06 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/integration-with-existing-apps.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/next/docs/integration-with-existing-apps.html b/releases/next/docs/integration-with-existing-apps.html index 4a82e39963b..fb55b3b20bd 100644 --- a/releases/next/docs/integration-with-existing-apps.html +++ b/releases/next/docs/integration-with-existing-apps.html @@ -34,7 +34,7 @@ block { display: none; }

The keys to integrating React Native components into your iOS application are to:

  1. Understand what React Native components you want to integrate.
  2. Create a Podfile with subspecs for all the React Native components you will need for your integration.
  3. Create your actual React Native components in JavaScript.
  4. Add a new event handler that creates a RCTRootView that points to your React Native component and its AppRegistry name that you defined in index.ios.js.
  5. Start the React Native server and run your native application.
  6. Optionally add more React Native components.
  7. Debug.
  8. Prepare for deployment (e.g., via the react-native-xcode.sh script).
  9. Deploy and Profit!
-

The keys to integrating React Native components into your Android application are to:

  1. Understand what React Native components you want to integrate.
  2. Install react-native in your Android application root directory to create node_modules/ directory.
  3. Create your actual React Native components in JavaScript.
  4. Add com.facebook.react:react-native:+ and a maven pointing to the react-native binaries in node_nodules/ to your build.gradle file.
  5. Create a custom React Native specific Activity that creates a ReactRootView.
  6. Start the React Native server and run your native application.
  7. Optionally add more React Native components.
  8. Debug.
  9. Prepare for deployment.
  10. Deploy and Profit!
+

The keys to integrating React Native components into your Android application are to:

  1. Understand what React Native components you want to integrate.
  2. Install react-native in your Android application root directory to create node_modules/ directory.
  3. Create your actual React Native components in JavaScript.
  4. Add com.facebook.react:react-native:+ and a maven pointing to the react-native binaries in node_modules/ to your build.gradle file.
  5. Create a custom React Native specific Activity that creates a ReactRootView.
  6. Start the React Native server and run your native application.
  7. Optionally add more React Native components.
  8. Debug.
  9. Prepare for deployment.
  10. Deploy and Profit!

Prerequisites #