Permalink
Browse files

Update IntegrationWithExistingApps.md

Summary:
The name should be "MyReactNativeApp" otherwise it gives error that the HelloWorld Application is not found

<!--
Thank you for sending the PR!

If you changed any code, please provide us with clear instructions on how you verified your changes work. In other words, a test plan is *required*. Bonus points for screenshots and videos!

Please read the Contribution Guidelines at https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md to learn more about contributing to React Native.

Happy contributing!
-->
Closes #15251

Differential Revision: D5518727

Pulled By: hramos

fbshipit-source-id: d9a2eac4698927f17f25a2316bd5674bb227821e
  • Loading branch information...
rajsuvariya authored and facebook-github-bot committed Jul 28, 2017
1 parent 99414e9 commit a31a0122d9b0ea0eb2e2293d4f1647d0f3cc92ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/IntegrationWithExistingApps.md
@@ -684,7 +684,7 @@ public class MyReactActivity extends Activity implements DefaultHardwareBackBtnH
.setUseDeveloperSupport(BuildConfig.DEBUG)
.setInitialLifecycleState(LifecycleState.RESUMED)
.build();
mReactRootView.startReactApplication(mReactInstanceManager, "HelloWorld", null);
mReactRootView.startReactApplication(mReactInstanceManager, "MyReactNativeApp", null);
setContentView(mReactRootView);
}

0 comments on commit a31a012

Please sign in to comment.