nx-react-native-cli 3.0.4 → 3.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx-react-native-cli",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
4
4
  "description": "A react native starter (with NX) cli script",
5
5
  "type": "module",
6
6
  "files": [
@@ -17,7 +17,7 @@ class MainActivity : ReactActivity() {
17
17
  * Returns the name of the main component registered from JavaScript. This is used to schedule
18
18
  * rendering of the component.
19
19
  */
20
- override fun getMainComponentName(): String = "AppsMobile"
20
+ override fun getMainComponentName(): String = "main"
21
21
 
22
22
  //react-native-screens override
23
23
  override fun onCreate(savedInstanceState: Bundle?) {
@@ -44,7 +44,7 @@
44
44
 
45
45
  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
46
46
 
47
- [factory startReactNativeWithModuleName:@"AppsMobile"
47
+ [factory startReactNativeWithModuleName:@"main"
48
48
  inWindow:self.window
49
49
  launchOptions:launchOptions];
50
50
 
@@ -2,4 +2,4 @@ import { AppRegistry } from 'react-native';
2
2
 
3
3
  import App from '@/app';
4
4
 
5
- AppRegistry.registerComponent('AppsMobile', () => App);
5
+ AppRegistry.registerComponent('main', () => App);
@@ -17,7 +17,7 @@ class MainActivity : ReactActivity() {
17
17
  * Returns the name of the main component registered from JavaScript. This is used to schedule
18
18
  * rendering of the component.
19
19
  */
20
- override fun getMainComponentName(): String = "Mobile"
20
+ override fun getMainComponentName(): String = "main"
21
21
 
22
22
  //react-native-screens override
23
23
  override fun onCreate(savedInstanceState: Bundle?) {
@@ -44,7 +44,7 @@
44
44
 
45
45
  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
46
46
 
47
- [factory startReactNativeWithModuleName:@"Mobile"
47
+ [factory startReactNativeWithModuleName:@"main"
48
48
  inWindow:self.window
49
49
  launchOptions:launchOptions];
50
50
 
@@ -2,4 +2,4 @@ import { AppRegistry } from 'react-native';
2
2
 
3
3
  import App from '@/app';
4
4
 
5
- AppRegistry.registerComponent('Mobile', () => App);
5
+ AppRegistry.registerComponent('main', () => App);