Repository navigation
Expand file tree
/
Copy pathapp.config.js
More file actions
65 lines (64 loc) · 1.56 KB
/
Copy pathapp.config.js
File metadata and controls
65 lines (64 loc) · 1.56 KB
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
require('dotenv').config();
export default {
expo: {
name: 'sync-demo-expo',
slug: 'sqlite-sync-demo',
version: '1.0.0',
orientation: 'portrait',
icon: './assets/icon.png',
userInterfaceStyle: 'light',
newArchEnabled: true,
extra: {
sqliteCloudDatabaseId: process.env.SQLITE_CLOUD_DATABASE_ID,
sqliteCloudApiKey: process.env.SQLITE_CLOUD_API_KEY,
accessToken: process.env.ACCESS_TOKEN,
databaseName: process.env.DATABASE_NAME,
tableName: process.env.TABLE_NAME,
eas: {
projectId: process.env.EAS_PROJECT_ID,
},
},
plugins: [
[
'expo-build-properties',
{
android: {
minSdkVersion: 26,
},
},
],
[
'expo-notifications',
{
enableBackgroundRemoteNotifications: true,
},
],
],
splash: {
image: './assets/splash-icon.png',
resizeMode: 'contain',
backgroundColor: '#ffffff',
},
ios: {
supportsTablet: true,
bundleIdentifier: process.env.IOS_BUNDLE_IDENTIFIER,
infoPlist: {
UIBackgroundModes: ['remote-notification'],
ITSAppUsesNonExemptEncryption: false,
},
},
android: {
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
backgroundColor: '#ffffff',
},
edgeToEdgeEnabled: true,
package: process.env.ANDROID_PACKAGE,
minSdkVersion: 26,
googleServicesFile: './google-services.json',
},
web: {
favicon: './assets/favicon.png',
},
},
};