Repository navigation
Expand file tree
/
Copy pathapp.json
More file actions
168 lines (168 loc) · 7.13 KB
/
Copy pathapp.json
File metadata and controls
168 lines (168 loc) · 7.13 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"expo": {
"name": "Ark",
"slug": "ark",
"version": "1.2.1",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "ark",
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": false,
"infoPlist": {
"NSFaceIDUsageDescription": "Allow Ark to unlock your passphrase-protected notes with Face ID.",
"NSMotionUsageDescription": "Allow Ark to use motion sensors for the compass, level, and other field tools.",
"NSLocationWhenInUseUsageDescription": "Allow Ark to show your position, save map spots, and record tracks while Ark is open.",
"NSLocationAlwaysAndWhenInUseUsageDescription": "Allow Ark to keep recording an active track when the screen is locked or Ark is in the background.",
"NSMicrophoneUsageDescription": "Allow Ark to record short voice prompts for offline transcription.",
"NSCameraUsageDescription": "Allow Ark to attach photos to tracks, saved spots, and Ask Arky chats.",
"NSPhotoLibraryUsageDescription": "Allow Ark to choose photos for tracks, saved spots, and Ask Arky chats.",
"UIBackgroundModes": ["location"]
},
"bundleIdentifier": "pt.rgo.ark"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/images/adaptive-icon.png",
"backgroundColor": "#000000"
},
"package": "pt.rgo.ark",
"versionCode": 4,
"permissions": [
"ACCESS_FINE_LOCATION",
"ACCESS_COARSE_LOCATION",
"ACCESS_BACKGROUND_LOCATION",
"FOREGROUND_SERVICE",
"FOREGROUND_SERVICE_LOCATION",
"ACTIVITY_RECOGNITION",
"RECORD_AUDIO",
"POST_NOTIFICATIONS"
],
"blockedPermissions": [
"android.permission.READ_EXTERNAL_STORAGE",
"android.permission.WRITE_EXTERNAL_STORAGE"
],
"softwareKeyboardLayoutMode": "resize"
},
"web": {
"bundler": "metro",
"output": "static",
"favicon": "./assets/images/favicon.png"
},
"plugins": [
"expo-router",
"expo-notifications",
[
"expo-splash-screen",
{
"image": "./assets/images/splash-transparent.png",
"imageWidth": 128,
"resizeMode": "contain",
"backgroundColor": "#000000"
}
],
"expo-secure-store",
[
"expo-local-authentication",
{
"faceIDPermission": "Allow Ark to unlock your passphrase-protected notes with Face ID."
}
],
[
"expo-audio",
{
"microphonePermission": "Allow Ark to record short voice prompts for offline transcription.",
"recordAudioAndroid": true,
"enableBackgroundPlayback": false,
"enableBackgroundRecording": false
}
],
[
"react-native-audio-api",
{
"iosMicrophonePermission": "Allow Ark to record short voice prompts for offline transcription.",
"iosBackgroundMode": false,
"androidPermissions": ["android.permission.RECORD_AUDIO"],
"androidForegroundService": false,
"disableFFmpeg": true
}
],
[
"expo-image-picker",
{
"cameraPermission": "Allow Ark to attach photos to tracks, saved spots, and Ask Arky chats.",
"photosPermission": "Allow Ark to choose photos for tracks, saved spots, and Ask Arky chats.",
"microphonePermission": "Allow Ark to record short voice prompts for offline transcription."
}
],
[
"expo-sqlite",
{
"enableFTS": true,
"useSQLCipher": true,
"withSQLiteVecExtension": true
}
],
[
"expo-sensors",
{
"motionPermission": "Allow Ark to use motion sensors for the compass, level, and other field tools."
}
],
[
"expo-location",
{
"locationWhenInUsePermission": "Allow Ark to show your position, save map spots, and record tracks while Ark is open.",
"locationAlwaysAndWhenInUsePermission": "Allow Ark to keep recording an active track when the screen is locked or Ark is in the background.",
"isIosBackgroundLocationEnabled": true,
"isAndroidBackgroundLocationEnabled": true,
"isAndroidForegroundServiceEnabled": true
}
],
[
"react-native-enriched-markdown",
{
"enableMath": false
}
],
"@maplibre/maplibre-react-native",
"./plugins/with-ark-routing",
"./plugins/with-ark-gradle-memory",
"./plugins/with-ark-android-release",
"./plugins/with-ark-fdroid-autolink",
[
"expo-build-properties",
{
"android": {
"minSdkVersion": 26,
"usePrecompiledHeaders": true,
"enableMinifyInReleaseBuilds": true,
"enableShrinkResourcesInReleaseBuilds": true,
"useLegacyPackaging": true,
"extraProguardRules": "# React Native ExecuTorch reaches these Java classes from native JNI code.\n# R8 cannot see those references and otherwise removes or renames the runtime.\n-keep class org.pytorch.executorch.** { *; }\n-keep class com.swmansion.rnexecutorch.** { *; }\n\n# expo-task-manager loads its headless app loader reflectively by class name.\n# R8 cannot see that reference and otherwise strips the class, breaking\n# background headless tasks (background track recording) and logging errors\n# on every app pause.\n-keep class expo.modules.adapters.react.apploader.** { *; }\n\n# ArkZim reaches libkiwix/libzim Java classes and native methods from JNI.\n# Release R8 minification can otherwise rename symbols that debug builds keep.\n-keep class org.kiwix.** { *; }\n-keep class org.kiwix.libzim.** { *; }\n-keepclasseswithmembernames class org.kiwix.** { native <methods>; }\n-dontwarn org.kiwix.**\n\n# PDFBox can reference the optional Gemalto JPEG2000 decoder when parsing PDFs.\n# Ark does not bundle that decoder; OCR/text extraction paths handle failures.\n-dontwarn com.gemalto.jp2.JP2Decoder\n\n# Local Expo modules under modules/ (ark-routing, ark-ocr, ark-zim, ark-system-colors)\n# are reached only through the ExpoModulesPackageList's modulesMap at\n# runtime. R8 cannot see the reflective load() call, so the classes\n# would otherwise be stripped from the release APK. Keep the entry\n# classes and the JNI bridge that the ark-routing module talks to.\n-keep class expo.modules.arkrouting.** { *; }\n-keep class expo.modules.arkocr.** { *; }\n-keep class expo.modules.arkzim.** { *; }\n-keep class expo.modules.arksystemcolors.** { *; }\n-keep class com.valhalla.valhalla.** { *; }\n-keepclasseswithmembernames class com.valhalla.valhalla.** { native <methods>; }"
},
"ios": {
"deploymentTarget": "17.0"
}
}
],
[
"llama.rn",
{
"enableEntitlements": true,
"entitlementsProfile": "production",
"forceCxx20": true,
"enableOpenCLAndHexagon": true
}
],
"expo-sharing",
"expo-status-bar",
"expo-asset",
"expo-image",
"expo-localization"
],
"experiments": {
"typedRoutes": true
}
}
}