so far I didn't find any library or packages that support to read the phone's sound preference. Because I want to detect, if the phone is in silent mode, then my apps should not play any sound. Currently, even I set my phone to silent/vibrant mode, the sound still can be played.
Any Idea?
Is this related to native thing?
Thank You
You could try the volume plugin
https://pub.dev/packages/volume
It has a get current volumne method
await Volume.getVol
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With