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

How to Bypass Android Volume When Set to Zero and Play Notification Sound at Max Volume #499

Closed
lpv-1902 opened this issue May 10, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@lpv-1902
Copy link

Hi everyone,

I'm working on an Android app and I have a specific requirement for notifications. I need to bypass the system volume settings, especially when the volume is set to zero, and ensure that my notification sound plays at maximum volume. This is similar to how critical alerts work in iOS.

Is there a way to achieve this using this great plugin? Any guidance or examples would be greatly appreciated.

Thank you in advance!

@lpv-1902 lpv-1902 added the enhancement New feature or request label May 10, 2024
@Kebechet
Copy link
Contributor

is it even possible to do on android devices ?

@thudugala
Copy link
Owner

@lpv-1902 try https://medium.com/@surendar1006/implementing-critical-alerts-on-android-aa49b4d75705

@lpv-1902
Copy link
Author

lpv-1902 commented Jun 6, 2024

Thanks, I have implemented this using Critical Alerts and a combination of turning off do not disturb, setting ringer mode to Ring, turning notification volume to max and letting the critical alert run. Afterwards I set all the values to their previous setting.

@lpv-1902 lpv-1902 closed this as completed Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants