ryanheise
ryanheise
@Jaaco I have applied my changes to a new branch `jan-milovanovic-minor` in this repo. You can try it to see if it resolves your other issue.
I can only imagine that it would work as intended, since this is the class you are supposed to use. The other purpose of this class is to set up...
The AudioService* subclasses of FlutterActivity and FlutterFragmentActivity try to redirect any entrypoint into the app to the shared flutter engine instance. So theoretically switching from FlutterFragmentActivity to AudioServiceFragmentActivity is supposed...
This has now been merged and published. Thanks to @jan-milovanovic for the original PR, and thanks @Jaaco for prompting the additional changes based on your testing.
This is an Android-only feature, but the documentation was not clear on that. I have converted this into a documentation request rather than a bug report so that I can...
I am not aware of any, but if you are able to research and find a corresponding API on iOS, I could implement it for you.
> Upon reviewing your implementation in AudioServicePlugin.m, which contains native iOS code, I did not find a straightforward way to implement the above solution. I would like to know if...
> as we do not have permissions to startForeground from the background. Have you had a look at https://github.com/ryanheise/audio_service/issues/932#issuecomment-1382729296 >
It would also be possible to use the current implementation as is and just emit a `!playing` state from your app to trigger when you want to stop foreground, but...
> I may have misunderstood your response. In the current implementation emitting a !playing state does NOT trigger stopForeground. It should if you use the default config parameter stopForegroundOnPause.