Pow*_*ing 6 service background dart dart-isolates flutter
我正在使用飞镖隔离物在背景中播放音乐。我想获取之前生成的隔离实例,以便在关闭并重新打开 Flutter 应用程序后停止音乐。
有没有办法在重新打开Flutter应用程序后获取现有isolate的实例?
Gün*_*uer -2
当应用程序不在前台时,隔离不会继续在后台运行。
有关当前可用的解决方案,请参阅https://medium.com/flutter-io/executing-dart-in-the-background-with-flutter-plugins-and-geofencing-2b3e40a1a124
为了
https://github.com/flutter/flutter/issues/24278 https://github.com/flutter/flutter/issues/26178
| 归档时间: |
|
| 查看次数: |
2132 次 |
| 最近记录: |