-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.config.ts
58 lines (57 loc) · 1.41 KB
/
app.config.ts
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
49
50
51
52
53
54
55
56
57
58
import { ExpoConfig, ConfigContext } from '@expo/config';
export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: 'Owky - Own your keys',
slug: 'owky',
owner: 'charlietango8',
version: '1.0.3',
orientation: 'portrait',
icon: './assets/icon.png',
userInterfaceStyle: 'automatic',
splash: {
image: './assets/splash.png',
resizeMode: 'contain',
backgroundColor: '#212529',
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ['**/*'],
ios: {
bundleIdentifier: 'xyz.owky.owky',
buildNumber: '1.0.0',
supportsTablet: false,
infoPlist: {
NSFaceIDUsageDescription: 'Authenticate with TouchId or FaceID.',
NSCameraUsageDescription:
'Owky needs camera permissions to be able to scan QR codes. You can turn it off in Settings if you change your mind.',
},
},
android: {
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
backgroundColor: '#FFFFFF',
},
},
web: {
favicon: './assets/favicon.png',
},
extra: {
sentry: {
dsn: process.env.SENTRY_DSN,
},
},
hooks: {
postPublish: [
{
file: 'sentry-expo/upload-sourcemaps',
config: {
organization: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,
authToken: process.env.SENTRY_AUTH_TOKEN,
},
},
],
},
plugins: ['sentry-expo'],
});