diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ecdf005..7739b7ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.17.0-nullsafety.0 + +* Null safety. + ## 0.16.2+1 * Mention upcoming 0.18.0 release in README. diff --git a/example/macos/Flutter/GeneratedPluginRegistrant.swift b/example/macos/Flutter/GeneratedPluginRegistrant.swift index f86611de..886e037c 100644 --- a/example/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/example/macos/Flutter/GeneratedPluginRegistrant.swift @@ -5,16 +5,16 @@ import FlutterMacOS import Foundation +import audio_service import audio_session import just_audio import path_provider_macos import sqflite -import audio_service func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { + AudioServicePlugin.register(with: registry.registrar(forPlugin: "AudioServicePlugin")) AudioSessionPlugin.register(with: registry.registrar(forPlugin: "AudioSessionPlugin")) JustAudioPlugin.register(with: registry.registrar(forPlugin: "JustAudioPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin")) - AudioServicePlugin.register(with: registry.registrar(forPlugin: "AudioServicePlugin")) } diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 0466360e..922a45e5 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -3,15 +3,15 @@ description: Demonstrates how to use the audio_service plugin. publish_to: 'none' environment: - sdk: ">=2.12.0-259.9.beta <3.0.0" + sdk: ">=2.12.0 <3.0.0" dependencies: flutter: sdk: flutter - path_provider: ^2.0.0 + path_provider: ^2.0.1 audio_session: ^0.1.0 - just_audio: ^0.7.0-nullsafety.2 + just_audio: ^0.7.0 # TODO: re-enable when flutter_tts is migrated to null safety. # flutter_tts: ^0.8.5 rxdart: ^0.26.0 diff --git a/pubspec.yaml b/pubspec.yaml index a7ebceb3..a1575888 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,17 +1,17 @@ name: audio_service description: Flutter plugin to play audio in the background while the screen is off. -version: 0.16.2+1 +version: 0.17.0-nullsafety.0 homepage: https://github.com/ryanheise/audio_service environment: - sdk: ">=2.12.0-259.9.beta <3.0.0" + sdk: ">=2.12.0 <3.0.0" flutter: ">=1.12.13+hotfix.5" dependencies: audio_session: ^0.1.0 rxdart: ^0.26.0 - flutter_isolate: ^2.0.0-nullsafety.0 - flutter_cache_manager: ^3.0.0-nullsafety.0 + flutter_isolate: ^2.0.0 + flutter_cache_manager: ^3.0.0-nullsafety.1 js: ^0.6.3 flutter: sdk: flutter