-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.js
More file actions
147 lines (145 loc) · 4.27 KB
/
app.config.js
File metadata and controls
147 lines (145 loc) · 4.27 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
147
export default {
expo: {
name: 'Mooncake',
slug: 'mooncake',
owner: 'desmos',
version: '1.6.4',
orientation: 'portrait',
icon: './assets/icon.png',
userInterfaceStyle: 'light',
splash: {
image: './assets/splash.png',
resizeMode: 'contain',
backgroundColor: '#ffffff',
},
notification: {
icon: './assets/ic_notification.png',
color: '#FEB027',
},
assetBundlePatterns: ['**/*', 'assets/md/*'],
packagerOpts: {
assetExts: ['md'],
},
ios: {
supportsTablet: false,
bundleIdentifier: 'mobile.mooncake.app',
infoPlist: {
NSFaceIDUsageDescription: 'Allow $(PRODUCT_NAME) to use Face ID.',
UIBackgroundModes: ['remote-notification'],
},
googleServicesFile: './GoogleService-Info.plist',
associatedDomains: ['applinks:mooncake.app.link'],
},
android: {
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
backgroundColor: '#FEB027',
},
package: 'mobile.mooncake.app',
permissions: ['android.permission.USE_BIOMETRIC', 'android.permission.USE_FINGERPRINT'],
googleServicesFile: './google-services.json',
intentFilters: [
{
action: 'VIEW',
autoVerify: true,
data: [
{
scheme: 'https',
host: 'mooncake.app.link',
pathPrefix: '/',
},
],
category: ['BROWSABLE', 'DEFAULT'],
},
],
},
scheme: ['mooncakeweb3auth', 'mooncake'],
plugins: [
'@giphy/react-native-sdk',
'expo-font',
'expo-secure-store',
[
'@config-plugins/react-native-branch',
{
apiKey: process.env.BRANCH_API_KEY,
iosAppDomain: 'mooncake.app.link',
},
],
[
'@sentry/react-native/expo',
{
organization: 'desmos-labs',
project: 'mooncake',
},
],
['expo-localization'],
[
'expo-build-properties',
{
ios: {
useFrameworks: 'static',
},
android: {
enableProguardInReleaseBuilds: true,
extraProguardRules: `
# expo-image proguard rules
-keep public class * extends com.bumptech.glide.module.LibraryGlideModule
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep class * extends com.bumptech.glide.module.AppGlideModule {
<init>(...);
}
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
**[] $VALUES;
public *;
}
-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
*** rewind();
}
-keep public class com.bumptech.glide.request.ThumbnailRequestCoordinator {
*;
}
-dontwarn com.bumptech.glide.load.resource.bitmap.VideoDecoder
-keep class com.bumptech.glide.GeneratedAppGlideModuleImpl
-keep public class com.bumptech.glide.integration.webp.WebpImage { *; }
-keep public class com.bumptech.glide.integration.webp.WebpFrame { *; }
-keep public class com.bumptech.glide.integration.webp.WebpBitmapFactory { *; }`,
},
},
],
[
'expo-local-authentication',
{
faceIDPermission:
'By allowing the application to access Face ID, you enhance security. Your facial data is used exclusively for authentication, safeguarding your account and ensuring secure operations.',
},
],
[
'expo-image-picker',
{
photosPermission:
'Granting the application access to your photos enables you to utilize them within your posts, as well as for your profile picture and cover photo.',
},
],
[
'expo-calendar',
{
calendarPermission:
'By allowing the application to access your calendar, you streamline event management. Dates sync seamlessly, enhancing your scheduling convenience within the app while respecting your privacy.',
},
],
'react-native-compressor',
'@react-native-firebase/app',
'@react-native-firebase/messaging',
'./plugins/withBackgroundActions',
],
extra: {
eas: {
projectId: '43a55d00-d274-46be-8bc8-f09e1373e573',
},
},
updates: {
enabled: false,
fallbackToCacheTimeout: 0,
},
},
};