Skip to content

Commit

Permalink
Update IntegrationWithExistingApps.md
Browse files Browse the repository at this point in the history
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 a31a012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/IntegrationWithExistingApps.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ public class MyReactActivity extends Activity implements DefaultHardwareBackBtnH
.setUseDeveloperSupport(BuildConfig.DEBUG) .setUseDeveloperSupport(BuildConfig.DEBUG)
.setInitialLifecycleState(LifecycleState.RESUMED) .setInitialLifecycleState(LifecycleState.RESUMED)
.build(); .build();
mReactRootView.startReactApplication(mReactInstanceManager, "HelloWorld", null); mReactRootView.startReactApplication(mReactInstanceManager, "MyReactNativeApp", null);


setContentView(mReactRootView); setContentView(mReactRootView);
} }
Expand Down

0 comments on commit a31a012

Please sign in to comment.