-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config.js
45 lines (44 loc) · 957 Bytes
/
app.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import {execSync} from 'child_process';
export default {
name: 'Megnat',
slug: 'megnat',
version: require('./package.json').version,
orientation: 'portrait',
icon: './assets/images/icon.png',
scheme: 'megnat',
userInterfaceStyle: 'automatic',
newArchEnabled: true,
ios: {
supportsTablet: true,
},
android: {
adaptiveIcon: {
foregroundImage: './assets/images/adaptive-icon.png',
backgroundColor: '#111111',
},
package: 'com.megnat',
},
plugins: [
'expo-router',
[
'expo-splash-screen',
{
image: './assets/images/splash-icon.png',
imageWidth: 200,
resizeMode: 'contain',
backgroundColor: '#111111',
},
],
],
experiments: {
typedRoutes: true,
},
extra: {
build: {
date: Date.now(),
sha:
process.env.GITHUB_SHA?.slice(0, 7) ||
execSync('git rev-parse --short HEAD').toString().trim(),
},
},
};