Closed csacchetti closed 4 years ago
There's several different issues here.
Focusing on the audio interrupt. I'm not concerned about the screenshots above; I get the same behavior on my setup.
1) What is your OS version and type of phone? 2) When you start audio playback, does a notification show up? (And stay visible?) 3) Does running in debug mode behave differently than running in release mode?
Huawei P20 lite Model ANE-LX1 EMUI 9.1.0
No notification
Il giorno 4 gen 2020, alle ore 17:38, Daniel Iglesia notifications@github.com ha scritto:
There's several different issues here.
Focusing on the audio interrupt. I'm not concerned about the screenshots above; I get the same behavior on my setup.
What is your OS version and type of phone? When you start audio playback, does a notification show up? (And stay visible?) Does running in debug mode behave differently than running in release mode? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/google/flutter.plugins/issues/43?email_source=notifications&email_token=ALF74VLN7QOMPXHQIEKCWFLQ4C3SHA5CNFSM4KCVSGD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIC3M3Y#issuecomment-570799727, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALF74VM3CWEXXUYR7XEXISTQ4C3SHANCNFSM4KCVSGDQ.
You should see a notification like the below.
Are you playing the audio on the fourth card ("Example 4: background playback with...")? That's the only button in the example app with background audio.
Are you using the most recent version of the example app (as part of the plugin version 1.1.1?)
Otherwise then perhaps your system is blocking unknown Android Services. Is there anything in your security or battery settings that does this?
I have access to a Huawei phone on Monday, I'll try it on that then.
When I try to run in release mode my app (but the same error is show in Example too) I have in Run console this error
I have do the change in Manifest like suggest. But also here there's a message error
The app is also installed but it has the same problem as before: The audio interrupts after a few minutes.