-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapp.config.js
59 lines (58 loc) · 1.39 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
49
50
51
52
53
54
55
56
57
58
59
const IS_PROD = process.env.APP_VARIANT === 'production';
export default {
name: IS_PROD ? 'WeechatRN' : 'WeechatRN (Dev)',
description: 'Weechat relay client using websockets',
slug: 'WeechatRN',
newArchEnabled: false,
ios: {
bundleIdentifier: IS_PROD
? 'com.matthoran.weechatrn'
: 'com.matthoran.weechatrn.dev',
supportsTablet: true,
config: {
usesNonExemptEncryption: false
},
privacyManifests: {
NSPrivacyAccessedAPITypes: [
{
NSPrivacyAccessedAPIType:
'NSPrivacyAccessedAPICategorySystemBootTime',
NSPrivacyAccessedAPITypeReasons: ['35F9.1']
}
]
},
buildNumber: '10'
},
android: {
package: IS_PROD ? 'com.matthoran.weechatrn' : 'com.matthoran.weechatrn.dev'
},
platforms: ['ios', 'android'],
version: '1.3.0',
icon: './assets/icon.png',
plugins: [
[
'expo-splash-screen',
{
backgroundColor: '#ffffff',
image: './assets/splash.png',
imageWidth: 1242
}
]
],
updates: {
fallbackToCacheTimeout: 0,
url: 'https://u.expo.dev/5e51d3f0-dc9c-11e8-9dfe-b9e5abc941a4'
},
assetBundlePatterns: ['**/*'],
githubUrl: 'https://github.com/mhoran/weechatRN',
extra: {
eas: {
projectId: '5e51d3f0-dc9c-11e8-9dfe-b9e5abc941a4'
}
},
...(IS_PROD && {
runtimeVersion: {
policy: 'nativeVersion'
}
})
};