react-native-silent-switch icon indicating copy to clipboard operation
react-native-silent-switch copied to clipboard

Detect the iOS silent switch using React Native

Results 6 react-native-silent-switch issues
Sort by recently updated
recently updated
newest added

Is this library not updated, getting below warning ```` [!] use_native_modules! skipped the react-native dependency 'react-native-silent-switch'. No podspec file was found. - Check to see if there is an updated...

Credits to https://github.com/akramhussein/Mute

RN: 50.4 iOS: 11.1 silent switch: 0.1.0 Unable to build, with the following error: /project/node_modules/react-native/React/Base/RCTBridgeModule.h:54:16: Redefinition of 'RCTMethodInfo'

I expect this is purely down to the way that it works, play a sound wait for timeout etc, but it causes the device to constantly emit a quite hissing...

After upgrading react native, I was having trouble compiling until I made these changes. Thanks, Sam

Just upgraded my project to React-Native 0.56.0 (was previously 0.49) and React 16.4.1. Now on app startup, I get the following warning: `Module RCTSilentSwitch requires main queue setup since it...