Skip to content

Commit

Permalink
fix: production config
Browse files Browse the repository at this point in the history
  • Loading branch information
Adventune committed Jul 16, 2024
1 parent ef8be79 commit 749edb5
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 46 deletions.
53 changes: 53 additions & 0 deletions app.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
export default () => {
return {
expo: {
name: 'Assembly',
slug: 'assembly-app',
version: '1.0.0',
orientation: 'portrait',
icon: './assets/images/icon.png',
scheme: 'myapp',
userInterfaceStyle: 'automatic',
splash: {
image: './assets/images/splash.png',
resizeMode: 'contain',
backgroundColor: '#191919',
},
ios: {
supportsTablet: true,
bundleIdentifier:
process.env.EXPO_PUBLIC_ENVIRONMENT === 'production'
? 'com.testausserveri.assemblyapp'
: 'com.testausserveri.assemblyapp-dev',
},
android: {
adaptiveIcon: {
foregroundImage: './assets/images/adaptive-icon.png',
backgroundColor: '#191919',
},
package:
process.env.EXPO_PUBLIC_ENVIRONMENT === 'production'
? 'com.testausserveri.assemblyapp'
: 'com.testausserveri.assemblyapp-dev',
},
web: {
bundler: 'metro',
output: 'static',
favicon: './assets/images/favicon.png',
},
plugins: ['expo-router', 'expo-build-properties'],
experiments: {
typedRoutes: true,
},
extra: {
router: {
origin: false,
},
eas: {
projectId: '469c71b6-54c5-4111-bc4a-03e2cf92a23d',
},
},
owner: 'testausserveri',
},
};
};
45 changes: 0 additions & 45 deletions app.json

This file was deleted.

7 changes: 6 additions & 1 deletion eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
"EXPO_PUBLIC_API_URL": "https://yusf31nx11.execute-api.eu-west-1.amazonaws.com/staging"
}
},
"production": {}
"production": {
"env": {
"EXPO_PUBLIC_ENVIRONMENT": "production",
"EXPO_PUBLIC_API_URL": "https://api.series.gg"
}
}
},
"submit": {
"production": {}
Expand Down

0 comments on commit 749edb5

Please sign in to comment.