Skip to content

Commit

Permalink
fix(mobile): refactor expo setup to adapt expo-updates (#214)
Browse files Browse the repository at this point in the history
Note:
Set `EXPO_USE_METRO_WORKSPACE_ROOT=0` on EAS for production build, this variable is only necessary on development.

expo/eas-cli#2280 (comment)
  • Loading branch information
bkdev98 committed Aug 7, 2024
1 parent d913b70 commit a542e2e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
3 changes: 3 additions & 0 deletions apps/mobile/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"bundleIdentifier": "ai.sixpm.app",
"config": {
"usesNonExemptEncryption": false
},
"entitlements": {
"com.apple.developer.applesignin": ["Default"]
}
},
"android": {
Expand Down
5 changes: 5 additions & 0 deletions apps/mobile/app/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
import '@formatjs/intl-locale/polyfill-force'
import '@formatjs/intl-pluralrules/polyfill-force'
import '@formatjs/intl-pluralrules/locale-data/en'
import '@formatjs/intl-pluralrules/locale-data/vi'

import '../global.css'

import * as Sentry from '@sentry/react-native'
Expand Down
6 changes: 0 additions & 6 deletions apps/mobile/index.js

This file was deleted.

2 changes: 1 addition & 1 deletion apps/mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@6pm/mobile",
"main": "index.js",
"main": "expo-router/entry",
"version": "1.0.0",
"scripts": {
"start": "expo start -c",
Expand Down

0 comments on commit a542e2e

Please sign in to comment.