-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathapp.config.js
More file actions
106 lines (105 loc) · 3.83 KB
/
app.config.js
File metadata and controls
106 lines (105 loc) · 3.83 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
const { version } = require("./package.json");
module.exports = {
expo: {
name: "B1Mobile",
slug: "B1Mobile",
version,
orientation: "portrait",
icon: "./assets/icon.png",
userInterfaceStyle: "light",
scheme: "b1mobile", // For deep linking
splash: {
image: "./src/assets/images/logoWhite.png",
resizeMode: "contain",
backgroundColor: "#2196F3"
},
assetBundlePatterns: ["**/*"],
ios: {
supportsTablet: true,
bundleIdentifier: "church.b1.mobile",
buildNumber: "55",
googleServicesFile: "./config/GoogleService-Info.plist",
infoPlist: {
ITSAppUsesNonExemptEncryption: false,
NSCameraUsageDescription: "B1 Church needs camera access to allow you to take photos for your profile and share with your church community.",
NSPhotoLibraryUsageDescription: "B1 Church needs access to your photos to allow you to upload profile pictures and share images with your church community.",
NSMicrophoneUsageDescription: "B1 Church needs microphone access to allow you to record audio messages and participate in church communications.",
NSLocationWhenInUseUsageDescription: "B1 Church uses your location to help you find nearby church events and connect with local church members.",
NSUserNotificationsUsageDescription: "B1 Church sends notifications to keep you updated about church events, messages, and important announcements.",
LSApplicationQueriesSchemes: ["mailto", "tel", "sms"]
}
},
android: {
package: "church.b1.mobile",
googleServicesFile: "./config/google-services.json",
adaptiveIcon: {
foregroundImage: "./assets/icon.png",
backgroundColor: "#ffffff"
}
// Uncomment this if you want to be explicit about permissions
/*
permissions: [
"CAMERA",
"READ_EXTERNAL_STORAGE",
"WRITE_EXTERNAL_STORAGE",
"RECORD_AUDIO",
"ACCESS_FINE_LOCATION"
],
*/
},
web: {
favicon: "./assets/favicon.png"
},
runtimeVersion: version,
plugins: [
[
"@sentry/react-native/expo",
{
"url": "https://sentry.io/",
"project": "b1-mobile",
"organization": "churchapps"
}
],
"expo-secure-store",
[
"expo-notifications",
{
icon: "./assets/images/notification-icon.png",
color: "#ffffff",
sounds: ["./assets/sounds/notification.mp3"]
}
],
[
"expo-build-properties",
{
ios: {
deploymentTarget: "17.0",
useFrameworks: "static"
}
}
],
"@react-native-firebase/app"
// "@react-native-firebase/analytics"
],
updates: {
url: "https://u.expo.dev/f72e5911-b8d5-467c-ad9e-423c180e9938"
},
extra: {
ATTENDANCE_API: process.env.ATTENDANCE_API || "https://api.churchapps.org/attendance",
B1_WEB_ROOT: process.env.B1_WEB_ROOT || "https://{subdomain}.b1.church",
CONTENT_API: process.env.CONTENT_API || "https://api.churchapps.org/content",
CONTENT_ROOT: process.env.CONTENT_ROOT || "https://content.churchapps.org",
DOING_API: process.env.DOING_API || "https://api.churchapps.org/doing",
GIVING_API: process.env.GIVING_API || "https://api.churchapps.org/giving",
LESSONS_API: process.env.LESSONS_API || "https://api.lessons.church",
LESSONS_ROOT: process.env.LESSONS_ROOT || "https://lessons.church",
MEMBERSHIP_API: process.env.MEMBERSHIP_API || "https://api.churchapps.org/membership",
MESSAGING_API: process.env.MESSAGING_API || "https://api.churchapps.org/messaging",
STAGE: process.env.STAGE || "prod",
YOUVERSION_API_KEY: process.env.YOUVERSION_API_KEY,
eas: {
projectId: "f72e5911-b8d5-467c-ad9e-423c180e9938"
}
}
}
};