-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.config.ts
84 lines (83 loc) · 2.25 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
export default {
name: "Arkad",
slug: "nexpo-app",
version: "2.0.0",
orientation: "portrait",
icon: "./assets/images/icon.png",
scheme: "se.arkadtlth.nexpo",
displayName: "ARKAD",
//userInterfaceStyle: 'automatic',
splash: {
resizeMode: "contain",
backgroundColor: "#F66628",
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
expo: {
ios: {
bundleIdentifier: "se.arkadtlth.nexpo",
googleServicesFile: "./GoogleService-Info.plist",
scheme: "se.arkadtlth.nexpo",
target: "nexpoapp",
buildNumber: "2.0.0",
plugins: [
"@react-native-firebase/app",
[
"expo-build-properties",
{
ios: {
useFrameworks: "static",
},
},
],
],
supportsTablet: true,
infoPlist: {
NSCameraUsageDescription:
"Camera access is needed for the QR-code scanning functionality",
NSPhotoLibraryUsageDescription:
"Photo library access is needed to choose a profile picture to upload",
UIBackgroundModes: ["fetch", "remote-notification"],
},
},
android: {
package: "se.arkadtlth.nexpo",
googleServicesFile: "./google-services.json",
buildNumber: "2.0.0",
displayName: "ARKAD",
appName: "ARKAD",
env: {
ANDROID_HOME: "/Users/victormikkelsen/Library/Android/sdk",
},
versionCode: 177,
scheme: "se.arkadtlth.nexpo",
adaptiveIcon: {
foregroundImage: "./assets/images/android_icon.png",
backgroundColor: "#F66628",
},
permissions: ["CAMERA"],
},
plugins: ["@react-native-firebase/app"],
web: {
favicon: "./assets/images/favicon.png",
},
extra: {
isDev: process.env.NODE_ENV === "false",
isProd: process.env.NODE_ENV !== "true",
backendUrl: "https://nexpo.arkadtlth.se/api",
//backendUrl: "http://localhost:5000/api",
eas: {
target: "nexpoapp",
projectId: "736e5c8b-3245-43fc-9803-293e803f584e",
},
},
name: "ARKAD",
slug: "nexpo-app",
version: "1.0.0",
sdkVersion: "48.0.0",
googleServicesFile: "./google-services.json",
platforms: ["ios", "android", "web"],
},
};