-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathapp.json.erb.tmpl
129 lines (129 loc) · 4.77 KB
/
app.json.erb.tmpl
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
{
"expo": {
"name": "<%= @mobile_app_name %>",
"slug": "<%= @expo_slug_name %>",
"owner": "ikusei",
"description": "An open source React Native app for smart villages merging regional offers and services in one place - in your pocket.",
"githubUrl": "https://github.com/ikuseiGmbH/smart-village-app-app",
"platforms": ["ios", "android"],
"version": "<%= @mobile_app_version_number %>",
"runtimeVersion": { "policy": "appVersion" },
"extra": { "eas": { "projectId": "<%= @eas_project_id %>" } },
"updates": { "url": "https://u.expo.dev/<%= @eas_project_id %>" },
"icon": "./assets/icon.png",
"scheme": "<%= @mobile_app_schema_url %>",
"orientation": "portrait",
"primaryColor": "#107821",
"newArchEnabled": true,
"assetBundlePatterns": ["**/*"],
"ios": {
"bundleIdentifier": "<%= @mobile_app_bundle_identifier %>",
"buildNumber": "<%= @mobile_app_ios_build_number %>",
"supportsTablet": true,
"requireFullScreen": true,
"infoPlist": {
"NSAppTransportSecurity": { "NSAllowsArbitraryLoads": true },
"NSCameraUsageDescription": "Diese App nutzt die Kamera, um Fotos aufzunehmen. Die Fotos werden ausschließlich für die von dir gewählten Zwecke verwendet.",
"NSPhotoLibraryUsageDescription": "Diese App nutzt die Medienbibliothek für die Auswahl eines Profilbildes.",
"NSPhotoLibraryAddUsageDescription": "Diese App benötigt Zugriff, um von dir aufgenommene Fotos in deiner Medienbibliothek zu speichern.",
"NSLocationWhenInUseUsageDescription": "Diese App kann die Standortbestimmung nutzen, um deine aktuelle Position auf der Karte darzustellen und Inhalte nach Entfernung zu sortieren.",
"NSPrivacyAccessedAPITypes": [
{
"NSPrivacyAccessedAPICategory": "NSPrivacyAccessedAPICategoryDiskSpace",
"NSPrivacyAccessedAPIReason": "Die App benötigt Informationen über den verfügbaren Speicherplatz, um sicherzustellen, dass genügend Platz für die Ausführung von Download- und Speicheroperationen vorhanden ist."
},
{
"NSPrivacyAccessedAPICategory": "NSPrivacyAccessedAPICategoryFileTimestamp",
"NSPrivacyAccessedAPIReason": "Die App verwendet Dateizeitstempel, um die Synchronisierung von Dateien zu verwalten und sicherzustellen, dass der Nutzer immer die neuesten Dateiversionen hat."
}
],
"NSMicrophoneUsageDescription": "Diese App benötigt Zugriff auf das Mikrofon, um die Kamera zu benutzen",
"CFBundleLocalizations": ["de"],
"CFBundleDevelopmentRegion": "de_DE",
"LSApplicationQueriesSchemes": ["whatsapp", "youtube"],
"LSMinimumSystemVersion": "12.0"
},
"config": {
"usesNonExemptEncryption": false
}
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "<%= @android_background_color %>"
},
"package": "de.bb.brandenburg.smartvillage.app",
"versionCode": <%= @mobile_app_android_version_number %>,
"googleServicesFile": "./google-services.json",
"permissions": [
"ACCESS_FINE_LOCATION",
"ACCESS_COARSE_LOCATION",
"READ_EXTERNAL_STORAGE",
"WRITE_EXTERNAL_STORAGE"
],
"config": {
"googleMaps": {
"apiKey": "<%= @googlemaps_api_key %>"
}
},
"allowBackup": false
},
"androidStatusBar": {
"barStyle": "dark-content",
"translucent": true,
"backgroundColor": "#00000000"
},
"plugins": [
[
"expo-document-picker",
{
// `appleTeamId` needs to be added
// https://developer.apple.com/help/account/manage-your-team/locate-your-team-id/#:~:text=In%20the%20top%20navigation%20of,to%20view%20your%20Team%20ID
"appleTeamId": ""
}
],
[
"expo-camera",
{
"recordAudioAndroid": false
}
],
[
"expo-screen-orientation",
{
"initialOrientation": "PORTRAIT"
}
],
[
"expo-build-properties",
{
"android": {
"usesCleartextTraffic": true
}
}
],
[
"expo-media-library",
{
"savePhotosPermission": "Allow $(PRODUCT_NAME) to save photos."
}
],
[
"expo-splash-screen",
{
"backgroundColor": "#ffffff",
"image": "./assets/icon.png"
}
],
"@config-plugins/react-native-blob-util",
"@config-plugins/react-native-pdf",
"expo-asset",
"expo-font",
"expo-image-picker",
"expo-localization",
"expo-secure-store",
"expo-video",
"./config-plugins/withAndroidMailQueriesAndWhatsappPackage"
]
}
}