diff --git a/.gitignore b/.gitignore index db5fc9a..0acc8f6 100644 --- a/.gitignore +++ b/.gitignore @@ -63,3 +63,6 @@ yarn-error.log .metro-health-check* package-lock.json + +# expo files +.expo diff --git a/index.js b/index.js index a850d03..6d33770 100644 --- a/index.js +++ b/index.js @@ -6,4 +6,4 @@ import {AppRegistry} from 'react-native'; import App from './App'; import {name as appName} from './app.json'; -AppRegistry.registerComponent(appName, () => App); +Platform.OS === 'ios' ? AppRegistry.registerComponent('main', () => App) : AppRegistry.registerComponent(appName, () => App); \ No newline at end of file diff --git a/package.json b/package.json index 37b335e..1f7a3e9 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,8 @@ }, "dependencies": { "axios": "^1.3.4", + "expo": "^48.0.9", + "expo-cli": "^6.3.2", "react": "18.2.0", "react-native": "0.71.4" },