-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathapp.config.js
More file actions
146 lines (145 loc) · 3.7 KB
/
app.config.js
File metadata and controls
146 lines (145 loc) · 3.7 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
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
146
import withMessagingServicePlugin from "./plugins/android/withMessageServicePlugin";
import withOpenSSLPlugin from "./plugins/ios/withOpenSSLPlugin";
export default ({ config }) => {
return {
...config,
name: "Alby Go",
slug: "alby-mobile",
version: "2.0.1",
scheme: [
"lightning",
"bitcoin",
"alby",
"nostr+walletconnect",
"nostrnwc",
"nostrnwc+alby",
"nostr+walletauth",
"nostr+walletauth+alby",
"lnurlw",
"lnurlp",
],
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "automatic",
newArchEnabled: true,
assetBundlePatterns: ["**/*"],
plugins: [
[
withMessagingServicePlugin,
{
androidFMSFilePath: "./assets/android/MessagingService.kt",
},
],
[withOpenSSLPlugin],
[
"expo-notification-service-extension-plugin",
{
mode: "production",
iosNSEFilePath: "./assets/ios/NotificationService.m",
},
],
[
"expo-splash-screen",
{
backgroundColor: "#FFFFFF",
image: "./assets/icon.png",
dark: {
image: "./assets/icon-dark.png",
backgroundColor: "#202020",
},
imageWidth: "150",
},
],
[
"expo-local-authentication",
{
faceIDPermission: "Allow Alby Go to use Face ID.",
},
],
[
"expo-camera",
{
cameraPermission:
"Allow Alby Go to use the camera to scan wallet connection and payment QR codes",
recordAudioAndroid: false,
},
],
[
"expo-font",
{
fonts: [
"./assets/fonts/CourierPrime-Regular.ttf",
"./assets/fonts/OpenRunde-Regular.otf",
"./assets/fonts/OpenRunde-Medium.otf",
"./assets/fonts/OpenRunde-Semibold.otf",
"./assets/fonts/OpenRunde-Bold.otf",
],
},
],
[
"expo-notifications",
{
icon: "./assets/notification.png",
},
],
[
"expo-image-picker",
{
photosPermission:
"Allow Alby Go to access your photos to load invoice and lightning address QRs",
},
],
"expo-location",
"expo-router",
"expo-secure-store",
[
"@sentry/react-native/expo",
{
url: "https://sentry.io/",
project: "alby-go",
organization: "getalby",
},
],
],
ios: {
icon: {
dark: "./assets/ios/dark.png",
light: "./assets/ios/light.png",
tinted: "./assets/ios/tinted.png",
},
supportsTablet: true,
bundleIdentifier: "com.getalby.mobile",
config: {
usesNonExemptEncryption: false,
},
infoPlist: {
LSMinimumSystemVersion: "13.0",
UIBackgroundModes: ["audio", "remote-notification"],
UIDesignRequiresCompatibility: true,
},
userInterfaceStyle: "automatic",
},
android: {
package: "com.getalby.mobile",
icon: "./assets/icon.png",
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundImage: "./assets/adaptive-icon-bg.png",
monochromeImage: "./assets/monochromatic.png",
},
permissions: [
"android.permission.CAMERA",
"android.permission.USE_BIOMETRIC",
"android.permission.USE_FINGERPRINT",
],
userInterfaceStyle: "automatic",
googleServicesFile: process.env.GOOGLE_SERVICES_JSON,
},
extra: {
eas: {
projectId: "294965ec-3a67-4994-8794-5cc1117ef155",
},
},
owner: "roland_alby",
};
};