mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 20:44:10 +00:00
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 https://github.com/facebook/react-native/pull/15251 Differential Revision: D5518727 Pulled By: hramos fbshipit-source-id: d9a2eac4698927f17f25a2316bd5674bb227821e
This commit is contained in:
parent
99414e9af6
commit
a31a0122d9
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user