Keagan Hilliard

Results 10 comments of Keagan Hilliard

> This behaviour does warrant better documentation, but a main method needs to be written in a way that can delay any unwanted initialisation until the app actually enters the...

Is this possible to implement for Cellular data as well? I did have an issue that came up with that. WiFi never seemed to be an issue but mobile data...

You would need to include the `AudioServicePlatformInterface` in your pubspec like so: ``` audio_service_platform_interface: git: url: https://github.com/ryanheise/audio_service.git ref: one-isolate path: audio_service_platform_interface ```` And then at some point after you have...

The issue is that Safari just flat out doesn't support the MediaSession APIs so there is probably an exception that is not being caught at some point (web debugging is...

Yeah all of this development has been focused on `one-isolate`. The `NoOpAudioService` only exists in that branch.

I wouldn't mind taking on a generic handler which wouldn't be a huge departure from the web version. Not sure I have the expertise to work with the Windows APIs....

@ryanheise Does it need to be more complicated than this? ``` static AudioServicePlatform _instance = (!kIsWeb && (Platform.isWindows || Platform.isLinux)) ? NoOpAudioService() : MethodChannelAudioService(); ``` ``` import 'package:flutter/services.dart'; import 'audio_service_platform_interface.dart';...

Assuming it works the same way as the web version, it should work correctly. Probably would need a test.

Just wanted to point out that Cast is supported on iOS as well, but it would likely be a larger lift than using the `exoplayer` `castplayer` implementation. Not sure how...

As far as I can tell it's fine to kill the notification and create a new one. I've seen other apps do that. https://developers.google.com/cast/docs/design_checklist/sender#sender-control-notification They have a lot of opinions...