-
-
Notifications
You must be signed in to change notification settings - Fork 1k
/
Copy pathapp.config.js
48 lines (48 loc) · 1.09 KB
/
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
46
47
48
export default ({ config }) => ({
...config,
name: 'example',
slug: 'example',
version: '0.0.1',
orientation: 'portrait',
icon: './assets/icon.png',
splash: {
image: './assets/splash.png',
resizeMode: 'cover',
backgroundColor: '#F8F9FF',
},
ios: {
bundleIdentifier: 'com.example',
buildNumber: '1',
supportsTablet: true,
},
android: {
versionCode: 1,
package: 'com.example',
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
backgroundColor: '#F8F9FF',
},
},
web: {
favicon: './assets/favicon.png',
},
plugins: [
[
'expo-camera',
{
cameraPermission: 'Allow RNGH example to access your camera',
},
],
[
'expo-font',
{
fonts: [
'./node_modules/@swmansion/icons/fonts/broken/swm-icons-broken.ttf',
'./node_modules/@swmansion/icons/fonts/outline/swm-icons-outline.ttf',
'./node_modules/@swmansion/icons/fonts/curved/swm-icons-curved.ttf',
],
},
],
],
newArchEnabled: Boolean(Number(process.env.FABRIC_ENABLED)),
});