How i can detect silent mode on the phone. I do not find any information about this in the API EXPO.
Any ideas how to do this?
Afaik there is no API on iOS to detect this. You can get the volume value but this won’t tell you, if the silent switch is set. You can still force audio to play, even if the silent switch was set.
There are native apis (not working with EXPO, only if ejected) which use some kind of workarounds playing a short audiofile without forcing the playback to detect if its set to silent. I’m not sure how reliable these hacks are.