-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtrapeze-config.yaml
77 lines (76 loc) · 3.91 KB
/
trapeze-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
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
platforms:
android:
gradle:
- file: app/build.gradle
target:
dependencies:
insert:
# insert dependencies for espresso-web tests to build.gradle
- androidTestImplementation: "\"tools.fastlane:screengrab:2.1.1\""
- androidTestImplementation: "\"androidx.test.espresso:espresso-web:$androidxEspressoCoreVersion\""
- androidTestImplementation: "\"androidx.test:runner:1.5.1\""
- androidTestImplementation: "\"androidx.test:rules:1.5.0\""
copy:
# copy UI tests for screengrab to grab screenshots for different devices
- src: ../resources/android/src/androidTest/java/org/thankthemaker/rescueapp/ScreengrabTests.java
dest: app/src/androidTest/java/org/thankthemaker/rescueapp/ScreengrabTests.java
# copy additional manifest for debugging, screengrab needs additional permissions
- src: ../resources/android/src/debug/AndroidManifest.xml
dest: app/src/debug/AndroidManifest.xml
manifest:
# add the needed permissions to the manifest
- file: AndroidManifest.xml
target: manifest
inject: <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
- file: AndroidManifest.xml
target: manifest
inject: <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
- file: AndroidManifest.xml
target: manifest
inject: <uses-permission android:name="android.permission.BLUETOOTH" />
- file: AndroidManifest.xml
target: manifest
inject: <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
- file: AndroidManifest.xml
target: manifest
inject: <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
- file: AndroidManifest.xml
target: manifest
inject: <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />
- file: AndroidManifest.xml
target: manifest
inject: <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
- file: AndroidManifest.xml
target: manifest
inject: <uses-permission android:name="android.permission.READ_APP_BADGE" />
- file: AndroidManifest.xml
target: manifest
inject: <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
- file: AndroidManifest.xml
target: manifest
inject: <uses-permission android:name="android.permission.WAKE_LOCK" />
- file: AndroidManifest.xml
target: manifest
inject: <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARMs" />
ios:
targets:
App:
copy:
# copy extended AppDelegate as registration for Push-Notifications is needed
- src: ../../resources/ios/App/App/AppDelegate.swift
dest: App/AppDelegate.swift
# copy UI tests for screenshot to grab screenshots for different devices
- src: ../../resources/ios/App/AppUITests/AppUITests.swift
dest: AppUITests/AppUITests.swift
plist:
- replace: true
entries:
# add additional properties to Info.plist
- ITSAppUsesNonExemptEncryption: false
- NSLocationWhenInUseUsageDescription: This App uses your location to allow tracking your route on a map.
- NSLocationAlwaysUsageDescription: This App uses your location to allow tracking your route on a map.
- NSLocationAlwaysAndWhenInUseUsageDescription: This App uses your location to allow tracking your route on a map.
- NSBluetoothPeripheralUsageDescription: This App uses Bluetooth to connect to your rESCue device via BLE.
- NSBluetoothAlwaysUsageDescription: This App uses Bluetooth / BLE even when the App is in background to keep connected to your rESCue device.
- UIBackgroundModes:
- bluetooth-central