audio_service icon indicating copy to clipboard operation
audio_service copied to clipboard

audio services cause the main function being called 2 times

Open lienminhquang opened this issue 2 years ago • 3 comments

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

lienminhquang avatar Apr 22 '22 15:04 lienminhquang

Can you please fill in the sections where you have written n/a?

ryanheise avatar Apr 22 '22 17:04 ryanheise

I updated the report, could you please check?

lienminhquang avatar Apr 25 '22 04:04 lienminhquang

You said the documentation is not found, please find it linked in pub.dev thanks.

ryanheise avatar Apr 25 '22 04:04 ryanheise

Any updates? We have the same problems. No ideas how to fix it

idrats avatar Feb 09 '23 13:02 idrats

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.

ryanheise avatar Feb 09 '23 14:02 ryanheise

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.

github-actions[bot] avatar Feb 24 '23 00:02 github-actions[bot]