diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj
index be41f95..7df70d3 100644
--- a/ios/Runner.xcodeproj/project.pbxproj
+++ b/ios/Runner.xcodeproj/project.pbxproj
@@ -280,10 +280,14 @@
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
);
+ inputPaths = (
+ );
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
);
+ outputPaths = (
+ );
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
@@ -372,10 +376,14 @@
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
+ inputPaths = (
+ );
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
+ outputPaths = (
+ );
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
index 96b66f5..c25b82b 100644
--- a/ios/Runner/Info.plist
+++ b/ios/Runner/Info.plist
@@ -30,21 +30,22 @@
NSBluetoothAlwaysUsageDescription
BikeControl uses Bluetooth to connect to accessories.
+ NSBonjourServices
+
+ _wahoo-fitness-tnp._tcp
+ _openbikecontrol._tcp
+
NSLocalNetworkUsageDescription
This app connects to your trainer app on your local network.
NSMotionUsageDescription
- Access your accelerometer and gyroscope for steering support via your phone.
- NSBonjourServices
-
- _wahoo-fitness-tnp._tcp
- _openbikecontrol._tcp
-
+ Access your accelerometer and gyroscope for steering support via your phone.
UIApplicationSupportsIndirectInputEvents
UIBackgroundModes
bluetooth-peripheral
bluetooth-central
+ audio
UILaunchStoryboardName
LaunchScreen
diff --git a/lib/bluetooth/connection.dart b/lib/bluetooth/connection.dart
index 9655cab..5a1f015 100644
--- a/lib/bluetooth/connection.dart
+++ b/lib/bluetooth/connection.dart
@@ -64,7 +64,7 @@ class Connection {
lastLogEntries = lastLogEntries.takeLast(kIsWeb ? 1000 : 60).toList();
});
- if (!kIsWeb && (Platform.isMacOS || Platform.isWindows)) {
+ if (!kIsWeb && (Platform.isMacOS || Platform.isWindows || Platform.isIOS)) {
core.mediaKeyHandler.initialize();
// Load saved media key detection state
core.mediaKeyHandler.isMediaKeyDetectionEnabled.value = core.settings.getMediaKeyDetectionEnabled();
diff --git a/lib/pages/device.dart b/lib/pages/device.dart
index d916382..0adf80e 100644
--- a/lib/pages/device.dart
+++ b/lib/pages/device.dart
@@ -110,7 +110,7 @@ class _DevicePageState extends State {
),
],
- if (!kIsWeb && (Platform.isMacOS || Platform.isWindows))
+ if (!kIsWeb && (Platform.isMacOS || Platform.isWindows || Platform.isIOS))
ValueListenableBuilder(
valueListenable: core.mediaKeyHandler.isMediaKeyDetectionEnabled,
builder: (context, value, child) {
diff --git a/pubspec.lock b/pubspec.lock
index e6e66d0..c22fed8 100755
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -164,10 +164,10 @@ packages:
dependency: transitive
description:
name: characters
- sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
+ sha256: faf38497bda5ead2a8c7615f4f7939df04333478bf32e4173fcb06d428b5716b
url: "https://pub.dev"
source: hosted
- version: "1.4.0"
+ version: "1.4.1"
cli_util:
dependency: transitive
description:
@@ -972,18 +972,18 @@ packages:
dependency: transitive
description:
name: matcher
- sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
+ sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6"
url: "https://pub.dev"
source: hosted
- version: "0.12.17"
+ version: "0.12.18"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
- sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
+ sha256: "9c337007e82b1889149c82ed242ed1cb24a66044e30979c44912381e9be4c48b"
url: "https://pub.dev"
source: hosted
- version: "0.11.1"
+ version: "0.13.0"
matrix4_transform:
dependency: transitive
description:
@@ -1612,10 +1612,10 @@ packages:
dependency: transitive
description:
name: test_api
- sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
+ sha256: "19a78f63e83d3a61f00826d09bc2f60e191bf3504183c001262be6ac75589fb8"
url: "https://pub.dev"
source: hosted
- version: "0.7.7"
+ version: "0.7.8"
time:
dependency: transitive
description: