mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 11:34:23 +00:00
Update IntegrationWithExistingApps.md
Summary: Conflict in the project name in package.json and index.xxx.js <!-- 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/14940 Differential Revision: D5398809 Pulled By: hramos fbshipit-source-id: 0ed12e8a39e5c477594396b4b781acd8a93f429d
This commit is contained in:
parent
7cdd4d48c8
commit
0c44b9e9b0
@ -350,7 +350,7 @@ const styles = StyleSheet.create({
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Module name
|
// Module name
|
||||||
AppRegistry.registerComponent('AwesomeProject', () => RNHighScores);
|
AppRegistry.registerComponent('MyReactNativeApp', () => RNHighScores);
|
||||||
```
|
```
|
||||||
|
|
||||||
> `RNHighScores` is the name of your module that will be used when you add a view to React Native from within your iOS application.
|
> `RNHighScores` is the name of your module that will be used when you add a view to React Native from within your iOS application.
|
||||||
@ -627,7 +627,7 @@ var styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
AppRegistry.registerComponent('AwesomeProject', () => HelloWorld);
|
AppRegistry.registerComponent('MyReactNativeApp', () => HelloWorld);
|
||||||
```
|
```
|
||||||
|
|
||||||
##### 3. Configure permissions for development error overlay
|
##### 3. Configure permissions for development error overlay
|
||||||
|
Loading…
x
Reference in New Issue
Block a user