Skip to content

Commit

Permalink
first rnn screen
Browse files Browse the repository at this point in the history
  • Loading branch information
kanzitelli committed Aug 27, 2022
1 parent f669567 commit dcb2b3b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
24 changes: 17 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
/**
* @format
*/

import {AppRegistry} from 'react-native';
import {Navigation} from 'react-native-navigation';
import App from './App';
import {name as appName} from './app.json';

AppRegistry.registerComponent(appName, () => App);
Navigation.registerComponent('com.myApp.WelcomeScreen', () => App);
Navigation.events().registerAppLaunchedListener(() => {
Navigation.setRoot({
root: {
stack: {
children: [
{
component: {
name: 'com.myApp.WelcomeScreen',
},
},
],
},
},
});
});
2 changes: 2 additions & 0 deletions ios/RNNStarter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 3AH8NJ64XY;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = RNNStarter/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand Down Expand Up @@ -521,6 +522,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 3AH8NJ64XY;
INFOPLIST_FILE = RNNStarter/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down

0 comments on commit dcb2b3b

Please sign in to comment.