From 581e8c1da92be914400bf461151ed22fcff0fd8b Mon Sep 17 00:00:00 2001 From: Ryan Heise Date: Sat, 30 Mar 2024 01:12:59 +1100 Subject: [PATCH 1/2] Upgrade audio_service_web to js '>=0.6.3 <0.8.0' --- audio_service_web/CHANGELOG.md | 4 ++++ audio_service_web/pubspec.yaml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/audio_service_web/CHANGELOG.md b/audio_service_web/CHANGELOG.md index d217792a..cf09fcdf 100644 --- a/audio_service_web/CHANGELOG.md +++ b/audio_service_web/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.2 + +* Support js '>=0.6.3 <0.8.0' + ## 0.1.1 * Better detection of browser support (@nt4f04uNd) diff --git a/audio_service_web/pubspec.yaml b/audio_service_web/pubspec.yaml index e9c07be6..e7927efa 100644 --- a/audio_service_web/pubspec.yaml +++ b/audio_service_web/pubspec.yaml @@ -1,6 +1,6 @@ name: audio_service_web description: Web platform implementation of audio_service. This implementation is endorsed and therefore doesn't require a direct dependency. -version: 0.1.1 +version: 0.1.2 homepage: https://github.com/ryanheise/audio_service/tree/master/audio_service_web environment: @@ -23,7 +23,7 @@ dependencies: audio_service_platform_interface: ^0.1.1 rxdart: '>=0.26.0 <0.28.0' - js: ^0.6.3 + js: '>=0.6.3 <0.8.0' flutter: sdk: flutter flutter_web_plugins: From 50703600d8d296b8f46fb6a174c2942adb5733ba Mon Sep 17 00:00:00 2001 From: Ryan Heise Date: Sat, 30 Mar 2024 01:18:12 +1100 Subject: [PATCH 2/2] Upgrade to js '>=0.6.3 <0.8.0' --- audio_service/CHANGELOG.md | 1 + audio_service/example/lib/example_multiple_handlers.dart | 1 - audio_service/pubspec.yaml | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/audio_service/CHANGELOG.md b/audio_service/CHANGELOG.md index 0db20e60..e082911e 100644 --- a/audio_service/CHANGELOG.md +++ b/audio_service/CHANGELOG.md @@ -2,6 +2,7 @@ * Fix Android NPE in sendNotificationClicked and onConnected. * Catch and broadcast async platform exceptions. +* Support js '>=0.6.3 <0.8.0' * Fix setAndroidPlaybackInfo call blocking (@julianscheel). * Pass through missing extras to playFrom.../prepareFrom... (@Ruchit2759). diff --git a/audio_service/example/lib/example_multiple_handlers.dart b/audio_service/example/lib/example_multiple_handlers.dart index 1e6fc3cd..3939d446 100644 --- a/audio_service/example/lib/example_multiple_handlers.dart +++ b/audio_service/example/lib/example_multiple_handlers.dart @@ -333,7 +333,6 @@ class AudioPlayerHandler extends BaseAudioHandler .toList(), )); } catch (e) { - // ignore: avoid_print print("Error: $e"); } } diff --git a/audio_service/pubspec.yaml b/audio_service/pubspec.yaml index bb5418a9..4ca755ba 100644 --- a/audio_service/pubspec.yaml +++ b/audio_service/pubspec.yaml @@ -32,13 +32,13 @@ dependencies: # Use these deps when publishing. audio_service_platform_interface: ^0.1.1 - audio_service_web: ^0.1.1 + audio_service_web: ^0.1.2 audio_session: ^0.1.16 rxdart: '>=0.26.0 <0.28.0' flutter_cache_manager: ^3.3.1 clock: ^1.1.0 - js: ^0.6.3 + js: '>=0.6.3 <0.8.0' flutter: sdk: flutter flutter_web_plugins: