Closed birdofpreyru closed 1 year ago
https://github.com/birdofpreyru/react-native-audio/blob/ff5664fbd5ffb017cfa8fb0b45e3fb86ac87b1f7/ios/ReactNativeAudio.mm#L82-L86 In theory (according to iOS docs) the Playback or PlaybackAndRecording audiocategories we set here should allow for audio playback on iPhone even when silence switch is activated. In practice, it does not seem to work, either because a bug in the library, or in a host project I have this problem with, or I am missing something else.
It works.
https://github.com/birdofpreyru/react-native-audio/blob/ff5664fbd5ffb017cfa8fb0b45e3fb86ac87b1f7/ios/ReactNativeAudio.mm#L82-L86 In theory (according to iOS docs) the Playback or PlaybackAndRecording audiocategories we set here should allow for audio playback on iPhone even when silence switch is activated. In practice, it does not seem to work, either because a bug in the library, or in a host project I have this problem with, or I am missing something else.