audio_service
audio_service copied to clipboard
audio services cause the main function being called 2 times
Documented behaviour
Not found
Actual behaviour
It can be noticed that the main entry point is called 2 times when run the app and Flutter debugger tool sometime can't go to breakpoint when I add this package to the project.
Runtime error
04-22 07:16:42.781 1509 1542 I flutter : --------------Run main------------
04-22 07:16:42.782 356 356 W RanchuHwc: validateDisplay: layer 304 CompositionType 1, fallback
04-22 07:16:42.784 356 356 W RanchuHwc: presentDisplay display has no layers to compose, flushing client target buffer.
04-22 07:16:42.790 1509 1533 I flutter : --------------Run main------------
Minimal reproduction project
https://github.com/lienminhquang/example.git
Reproduction steps
- Start debugging app with VSCode
Output of flutter doctor
[✓] Flutter (Channel stable, 2.10.4, on macOS 12.1 21C52 darwin-arm, locale en-VN)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.64.1)
[✓] Connected device (2 available)
[✓] HTTP Host Availability```
### Devices exhibiting the bug
android 12
Can you please fill in the sections where you have written n/a?
I updated the report, could you please check?
You said the documentation is not found, please find it linked in pub.dev thanks.
Any updates? We have the same problems. No ideas how to fix it
Update: I have just closed this issue since no valid issue was ever reported.
Also note that this GitHub issues page is used for reporting issues, while StackOverflow is used for asking for general help. But if you believe you have found an actual bug in audio_service and you can demonstrate that, then please open a new issue and I'll investigate it.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with audio_service.