-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathapp.config.js
88 lines (87 loc) · 2.44 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
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
import appIcons from "./src/lib/AppIconList";
const IS_DEV = process.env.APP_VARIANT === "development";
export default {
expo: {
name: IS_DEV ? "HCB (dev)" : "HCB",
slug: "hcb-mobile",
owner: "hackclub",
version: "1.0.0",
scheme: "hcb",
orientation: "portrait",
icon: "./assets/app-icon.png",
userInterfaceStyle: "automatic",
splash: {
image: "./assets/splash.png",
resizeMode: "contain",
backgroundColor: "#EC3750",
},
assetBundlePatterns: ["**/*"],
ios: {
supportsTablet: false,
bundleIdentifier: IS_DEV ? "com.hackclub.hcb.dev" : "com.hackclub.hcb",
buildNumber: "1.0.0.15",
config: {
usesNonExemptEncryption: false,
},
associatedDomains: [
"applinks:hcb.hackclub.com",
"applinks:bank.hackclub.com",
],
// entitlements: {
// "com.apple.developer.proximity-reader.payment.acceptance": true,
// }
},
android: {
icon: "./assets/app-icon.png",
adaptiveIcon: {
foregroundImage: "./assets/app-icon-foreground.png",
monochromeImage: "./assets/app-icon-monochrome.png",
backgroundColor: "#EC3750",
},
package: IS_DEV ? "com.hackclub.hcb.dev" : "com.hackclub.hcb",
},
web: {
bundler: "metro",
},
extra: {
eas: {
projectId: "dfc97c77-31b1-4267-896f-9472c87f166c",
},
},
plugins: [
[
"expo-image-picker",
{
cameraPermission: "Allow HCB to take photos of receipts",
photosPermission: "Allow HCB to access your photos for receipts",
},
],
"expo-secure-store",
[
"expo-local-authentication",
{ faceIDPermission: "Allow $(PRODUCT_NAME) to use Face ID." },
],
[
"@stripe/stripe-terminal-react-native",
{
bluetoothBackgroundMode: true,
locationWhenInUsePermission:
"Location access is required in order to accept payments.",
bluetoothPeripheralPermission:
"Bluetooth access is required in order to connect to supported bluetooth card readers.",
bluetoothAlwaysUsagePermission:
"This app uses Bluetooth to connect to supported card readers.",
},
],
[
"expo-build-properties",
{
android: {
minSdkVersion: 26,
},
},
],
["expo-alternate-app-icons", appIcons],
],
},
};