6.0.3 • Published 11 months ago
@jiggo/jigra-mute v6.0.3
jigra-mute
Detect if the mute switch is enabled/disabled on a device
Install
npm install @jiggo/jigra-mute
npx jig syncKnow issue
On IOS with Xcode 14 the lib use under the hood Mute is not configured as Apple expect anymore, it's not the only one having the issue as you can see here :
https://github.com/CocoaPods/CocoaPods/issues/8891
Solution: Replace this to your Podfile:
post_install do |installer|
assertDeploymentTarget(installer)
endBy
post_install do |installer|
assertDeploymentTarget(installer)
installer.pods_project.targets.each do |target|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
endAPI
isMuted()
isMuted() => anycheck if the device is muted
Returns: any
Interfaces
MuteResponse
| Prop | Type |
|---|---|
value | boolean |
6.0.3
11 months ago