Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In silent mode (media volume is 0), how can I play ringtone so that there have sound? #1865

Open
2 tasks done
yoer opened this issue Dec 19, 2024 · 1 comment
Open
2 tasks done
Labels

Comments

@yoer
Copy link

yoer commented Dec 19, 2024

Checklist

  • I read the troubleshooting guide before raising this issue
  • I made sure that the issue I am raising doesn't already exist

Current bug behaviour

no sound

Expected behaviour

In silent mode (media volume is 0), there is sound when playing ringtone

Steps to reproduce

  1. Execute flutter run on the code sample
  2. ...
  3. ...

Code sample

Code sample
void main() {
}

Affected platforms

Android

Platform details

No response

AudioPlayers Version

6.1.0

Build mode

No response

Audio Files/URLs/Sources

No response

Screenshots

No response

Logs

my relevant logs
Full Logs
my full logs or a link to a gist

Flutter doctor:

Output of: flutter doctor -v

Related issues / more information

No response

Working on PR

no way

@yoer yoer added the bug label Dec 19, 2024
@yoer yoer changed the title In silent mode (media volume is 0), how can I play ringtone so that there is sound? In silent mode (media volume is 0), how can I play ringtone so that there have sound? Dec 19, 2024
@yoer
Copy link
Author

yoer commented Dec 19, 2024

I have tried setting the audioMode to AndroidAudioMode.inCall
but no effect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant