-
Notifications
You must be signed in to change notification settings - Fork 7
/
app.config.ts
145 lines (142 loc) · 3.81 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
import { ExpoConfig, ConfigContext } from 'expo/config'
export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
name: process.env.APP_NAME ?? 'dev - Bible Strong',
jsEngine: 'hermes',
description: 'Bible strong for french people',
slug: 'bible-strong',
privacy: 'unlisted',
primaryColor: '#fff',
githubUrl: 'https://github.com/bulby97/bible-strong',
platforms: ['ios', 'android'],
version: '18.0.6',
orientation: 'default',
icon: './assets/images/icon-2.png',
userInterfaceStyle: 'automatic',
android: {
versionCode: 385,
package: 'com.smontlouis.biblestrong',
googleServicesFile:
process.env.ANDROID_GOOGLE_SERVICES_FILE ??
'firebase/dev/google-services.json',
splash: {
image: './assets/images/splash.png',
resizeMode: 'contain',
backgroundColor: '#fff',
dark: {
image: './assets/images/splash-dark.png',
resizeMode: 'contain',
backgroundColor: '#102031',
},
},
adaptiveIcon: {
foregroundImage: './assets/images/foreground-image.png',
backgroundImage: './assets/images/background-image.png',
monochromeImage: './assets/images/icon_notification.png',
},
},
ios: {
bundleIdentifier:
process.env.BUNDLE_IDENTIFIER ?? 'com.smontlouis.biblestrong.dev',
buildNumber: '175',
googleServicesFile:
process.env.IOS_GOOGLE_SERVICES_FILE ??
'./firebase/dev/GoogleService-Info.plist',
userInterfaceStyle: 'automatic',
splash: {
image: './assets/images/splash.png',
resizeMode: 'contain',
backgroundColor: '#fff',
dark: {
image: './assets/images/splash-dark.png',
resizeMode: 'contain',
backgroundColor: '#0F2132',
},
},
supportsTablet: true,
infoPlist: {
UIBackgroundModes: ['audio'],
NSAppTransportSecurity: {
NSExceptionDomains: {
'timeline.biblehistory.com': {
NSExceptionAllowsInsecureHTTPLoads: true,
},
},
},
},
entitlements: {
'com.apple.developer.applesignin': ['Default'],
},
},
plugins: [
'@react-native-firebase/app',
'@react-native-firebase/auth',
[
'expo-build-properties',
{
ios: {
useFrameworks: 'static',
deploymentTarget: '15.0',
},
android: {
compileSdkVersion: 34,
usesCleartextTraffic: true,
extraMavenRepos: [
'../../node_modules/@notifee/react-native/android/libs',
],
},
},
],
[
'expo-font',
{
fonts: [
'./src/assets/fonts/LiterataBook-Regular.otf',
'./src/assets/fonts/eina-03-bold.otf',
],
},
],
[
'expo-document-picker',
{
iCloudContainerEnvironment: 'Production',
},
],
[
'@sentry/react-native/expo',
{
organization: 'sevn-apps',
project: 'bible-strong',
},
],
[
'./plugins/withAndroidUsesFeature.js',
{
name: 'android.hardware.microphone',
attributes: {
required: 'false',
},
},
],
['./plugins/withBoringSSLFix.js'],
],
extra: {
eas: {
projectId: 'fdf72b90-346b-11e9-ad9a-255491359311',
},
updates: {
assetPatternsToBeBundled: [
'assets/images/*',
'src/assets/fonts/*',
'src/assets/images/*',
'src/assets/plans/*',
'src/assets/bible_versions/*',
'src/assets/timeline/*',
'node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Feather.ttf',
'node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Ionicons.ttf',
'src/features/bible/bibleWebView/dist/index.html',
'src/features/studies/studiesWebView/dist/index.html',
],
},
},
})