-
Notifications
You must be signed in to change notification settings - Fork 10
/
config.yaml
51 lines (45 loc) · 1.91 KB
/
config.yaml
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
platforms:
android:
versionName: 3.13.6
versionCode: 400020
manifest:
- file: AndroidManifest.xml
target: manifest/application
inject: <service android:name="com.equimaps.capacitor_background_geolocation.BackgroundGeolocationService" android:enabled="true" android:exported="true" android:foregroundServiceType="location" />
- file: AndroidManifest.xml
target: /manifest
merge: |
<manifest>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<uses-feature android:name="android.hardware.location.gps" />
<queries>
<package android:name="com.google.android.apps.maps" />
</queries>
</manifest>
- file: AndroidManifest.xml
target: manifest/application
attrs:
android:usesCleartextTraffic: true
ios:
targets:
App:
version: 3.13.6
buildNumber: 400020
plist:
- replace: true
entries:
- NSLocationWhenInUseUsageDescription: In order to track you while hiking and notify you about a near point of interest, this app always requires location tracking
- replace: true
entries:
- NSLocationAlwaysAndWhenInUseUsageDescription: In order to track you while hiking and notify you about a near point of interest, this app always requires location tracking
- replace: true
entries:
- UIBackgroundModes:
- location
- replace: true
entries:
- NSAppTransportSecurity:
- NSAllowsArbitraryLoads: true