mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-02-18 00:17:40 +01:00
remove media key detection due to Apple restrictions
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -260,7 +260,7 @@ jobs:
|
||||
name: Releases
|
||||
path: |
|
||||
screenshots/device-GitHub-600x900.png
|
||||
build/BikeControl.storeassets.zip
|
||||
build/BikeControl.screenshots.zip
|
||||
|
||||
#10 Extract Version
|
||||
- name: Extract version from pubspec.yaml
|
||||
@@ -275,7 +275,7 @@ jobs:
|
||||
if: inputs.build_github
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: "build/app/outputs/flutter-apk/BikeControl.android.apk,build/macos/Build/Products/Release/BikeControl.macos.zip,build/BikeControl.screenshots.zip"
|
||||
artifacts: "build/app/outputs/flutter-apk/BikeControl.android.apk,build/macos/Build/Products/Release/BikeControl.macos.zip,build/BikeControl.screenshots.zip,screenshots/device-GitHub-600x900.png"
|
||||
allowUpdates: true
|
||||
prerelease: true
|
||||
bodyFile: /tmp/release_body.md
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
<array>
|
||||
<string>bluetooth-peripheral</string>
|
||||
<string>bluetooth-central</string>
|
||||
<string>audio</string>
|
||||
</array>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
<string>LaunchScreen</string>
|
||||
|
||||
@@ -312,7 +312,7 @@ class _PairWidgetState extends State<_PairWidget> {
|
||||
Text(
|
||||
isAdvertisingPeripheral
|
||||
? 'Stop Pairing process'
|
||||
: 'Start connecting to ${settings.getLastTarget()?.name ?? 'remote'} device',
|
||||
: 'Start connecting to\n${settings.getLastTarget()?.title ?? 'remote'} device',
|
||||
),
|
||||
Text(
|
||||
'Pairing allows full customizability,\nbut may not work on all devices.',
|
||||
|
||||
@@ -59,7 +59,7 @@ class _ScanWidgetState extends State<ScanWidget> {
|
||||
Text(
|
||||
'Scanning for devices... Make sure they are powered on and in range and not connected to another device.',
|
||||
),
|
||||
if (!kIsWeb && (Platform.isMacOS || Platform.isIOS || Platform.isWindows))
|
||||
if (!kIsWeb && (Platform.isMacOS || Platform.isWindows))
|
||||
ValueListenableBuilder(
|
||||
valueListenable: connection.isMediaKeyDetectionEnabled,
|
||||
builder: (context, value, child) {
|
||||
|
||||
@@ -71,7 +71,7 @@ class _StatusWidgetState extends State<StatusWidget> {
|
||||
color: zwiftEmulator.isConnected.value ? Colors.green : Colors.red,
|
||||
text: 'Zwift Emulation ${zwiftEmulator.isConnected.value ? "connected" : "not connected"}',
|
||||
),
|
||||
if (!isRemote && !isZwift && !screenshotMode)
|
||||
if (!isRemote && !isZwift && !screenshotMode && settings.getLastTarget() != Target.thisDevice)
|
||||
_Status(
|
||||
color: Colors.red,
|
||||
text: 'Not connected to a remote device',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: swift_control
|
||||
description: "BikeControl - Control your virtual riding"
|
||||
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
version: 3.6.0+43
|
||||
version: 3.6.0+44
|
||||
|
||||
environment:
|
||||
sdk: ^3.9.0
|
||||
|
||||
Reference in New Issue
Block a user