-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.ts
More file actions
130 lines (129 loc) · 4.48 KB
/
Copy pathapp.config.ts
File metadata and controls
130 lines (129 loc) · 4.48 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
import 'dotenv/config';
export default {
expo: {
owner: "renounce3868",
name: "LogChirpy",
slug: "logchirpy",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/images/icon.png",
scheme: "logchirpy",
userInterfaceStyle: "automatic",
description: "Your personal bird watching companion. Log, identify, and track your bird sightings with ease.",
keywords: ["birds", "birdwatching", "nature", "wildlife", "identification", "logging"],
privacy: "public",
splash: {
image: "./assets/images/logo_no_bg.png",
resizeMode: "contain",
backgroundColor: "#ffffff"
},
assetBundlePatterns: [
"assets/fonts/**/*",
"assets/images/**/*",
"!assets/images/birds/**/*", // Exclude bird images (downloaded from GitHub)
"assets/models/**/*",
"assets/model_labels_whoBird/**/*",
"assets/sounds/**/*",
"locales/**/*",
"**/*.csv",
"!dev/**/*"
],
android: {
package: "com.logchirpy.app", // Cleaner package name
versionCode: 1,
minSdkVersion: 24,
compileSdkVersion: 34,
targetSdkVersion: 34,
softwareKeyboardLayoutMode: "pan",
permissions: [
"CAMERA",
"RECORD_AUDIO",
"READ_EXTERNAL_STORAGE",
"WRITE_EXTERNAL_STORAGE",
"READ_MEDIA_IMAGES",
"ACCESS_FINE_LOCATION",
"ACCESS_COARSE_LOCATION",
"ACCESS_MEDIA_LOCATION"
],
adaptiveIcon: {
foregroundImage: "./assets/images/adaptive-icon.png",
backgroundColor: "#FAFAFA" // Light neutral
},
},
newArchEnabled: false,
ios: {
bundleIdentifier: "com.logchirpy.app", // Consistent with Android
buildNumber: "1",
supportsTablet: true,
infoPlist: {
NSPhotoLibraryUsageDescription: "LogChirpy needs access to your photo library to let you select and save bird photos for your sightings.",
NSPhotoLibraryAddUsageDescription: "LogChirpy needs permission to save captured bird photos to your photo library.",
NSCameraUsageDescription: "LogChirpy needs camera access to take photos of birds for identification and logging.",
NSLocationWhenInUseUsageDescription: "LogChirpy uses your location to record where you spotted birds and suggest nearby birding locations.",
NSLocationAlwaysAndWhenInUseUsageDescription: "LogChirpy uses your location to record where you spotted birds and suggest nearby birding locations.",
NSMicrophoneUsageDescription: "LogChirpy needs microphone access to record bird sounds and videos for identification."
},
},
platforms: ["android", "ios"],
plugins: [
"expo-router",
[
"expo-splash-screen",
{
image: "./assets/images/splash-icon.png",
imageWidth: 200,
resizeMode: "contain",
backgroundColor: "#ffffff"
}
],
[
"expo-location",
{
locationAlwaysAndWhenInUsePermission: "LogChirpy uses your location to record where you spotted birds and suggest nearby birding locations.",
locationWhenInUsePermission: "LogChirpy uses your location to record where you spotted birds.",
isIosBackgroundLocationEnabled: false
}
],
"expo-sqlite",
"expo-video",
[
"expo-media-library",
{
"photosPermission": "Allow LogChirpy to access your photos to save bird detections",
"savePhotosPermission": "Allow LogChirpy to save bird photos to your gallery",
"isAccessMediaLocationEnabled": true
}
],
[
"expo-build-properties",
{
"android": {
"minSdkVersion": 24
}
}
],
[
"@maplibre/maplibre-react-native",
{
"android": {
"minSdkVersion": 23
}
}
]
],
experiments: {
typedRoutes: true
},
extra: {
EXPO_PUBLIC_FIREBASE_API_KEY: process.env.EXPO_PUBLIC_FIREBASE_API_KEY,
EXPO_PUBLIC_FIREBASE_AUTH_DOMAIN: process.env.EXPO_PUBLIC_FIREBASE_AUTH_DOMAIN,
EXPO_PUBLIC_FIREBASE_PROJECT_ID: process.env.EXPO_PUBLIC_FIREBASE_PROJECT_ID,
EXPO_PUBLIC_FIREBASE_STORAGE_BUCKET: process.env.EXPO_PUBLIC_FIREBASE_STORAGE_BUCKET,
EXPO_PUBLIC_FIREBASE_MESSAGING_SENDER_ID: process.env.EXPO_PUBLIC_FIREBASE_MESSAGING_SENDER_ID,
EXPO_PUBLIC_FIREBASE_APP_ID: process.env.EXPO_PUBLIC_FIREBASE_APP_ID,
eas: {
"projectId": "6d5c443d-9c04-49fa-b17a-8b7e30bd5df5"
}
},
}
};