-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.js
More file actions
107 lines (101 loc) · 2.75 KB
/
app.config.js
File metadata and controls
107 lines (101 loc) · 2.75 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
const path = require('path');
require('dotenv').config({
path: path.resolve(__dirname, `.env.${process.env.MODE}`),
});
module.exports = {
expo: {
// General
name: 'Buddyya',
slug: 'buddyya',
scheme: 'buddyya',
owner: 'buddyya',
version: '1.1.6',
orientation: 'portrait',
userInterfaceStyle: 'light',
description: 'A friendly app for buddy management.',
// Assets
icon: './assets/images/icon/icon.png',
splash: {
image: './assets/images/icon/icon.png',
resizeMode: 'contain',
backgroundColor: '#00A176',
},
assetBundlePatterns: ['./assets/fonts/*'],
// Plugins
plugins: [
[
'expo-notifications',
{
icon: './assets/images/icon/128.png',
color: '#00A176',
defaultChannel: 'default',
androidMode: 'default',
androidImportance: 'high',
androidShowWhen: true,
},
],
'expo-dev-client',
'expo-font',
'expo-localization',
[
'expo-build-properties',
{
android: {
usesCleartextTraffic: true,
},
},
],
],
// iOS
ios: {
bundleIdentifier: 'com.buddyya.app',
supportsTablet: false,
infoPlist: {
UIBackgroundModes: ['remote-notification'],
apsEnvironment: 'production',
NSAppTransportSecurity: {
NSAllowsArbitraryLoads: true,
},
ITSAppUsesNonExemptEncryption: false,
LSApplicationQueriesSchemes: ['instagram'],
NSCameraUsageDescription:
'Buddyya requires camera access to capture photos for content creation.',
NSPhotoLibraryUsageDescription:
'Buddyya requires photo library access to select images for your profile and to provide content sharing.',
},
},
// Android
android: {
package: 'com.buddyya.app',
permissions: ['NOTIFICATIONS', 'VIBRATE', 'WAKE_LOCK'],
googleServicesFile: './google-services.json',
useNextNotificationsApi: true,
notification: {
icon: './assets/images/icon/128.png',
color: '#00A176',
androidMode: 'default',
androidImportance: 'high',
androidShowWhen: true,
priority: 'high',
vibrate: true,
headless: true,
},
intentFilters: [
{
action: 'android.intent.action.VIEW',
category: ['android.intent.category.DEFAULT', 'android.intent.category.BROWSABLE'],
data: { scheme: 'buddyya' },
},
],
},
// Extras
extra: {
MODE: process.env.MODE,
BASE_URL: process.env.BASE_URL,
BASE_DOMAIN: process.env.BASE_DOMAIN,
eas: {
projectId: 'ae3e9ea5-3d73-4892-894d-2308ea11ed5c',
},
},
},
};