-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathapp.config.js
108 lines (107 loc) · 2.8 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
import withMessagingServicePlugin from "./plugins/android/withMessageServicePlugin";
import withOpenSSLPlugin from "./plugins/ios/withOpenSSLPlugin";
export default ({ config }) => {
return {
...config,
name: "Alby Go",
slug: "alby-mobile",
version: "1.9.0",
scheme: ["lightning", "bitcoin", "alby", "nostr+walletconnect"],
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: "#0B0930",
image: "./assets/icon.png",
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/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-router",
"expo-secure-store",
],
ios: {
supportsTablet: true,
bundleIdentifier: "com.getalby.mobile",
config: {
usesNonExemptEncryption: false,
},
infoPlist: {
LSMinimumSystemVersion: "12.0",
UIBackgroundModes: ["remote-notification"],
},
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",
};
};