Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@capgo/capacitor-mute

Cap-go13.1kMIT7.1.46TypeScript support: included

Detect if the mute switch is enabled/disabled on a device

capacitor, plugin, native, mute

readme

capacitor-mute

Capgo - Instant updates for capacitor

Detect if the mute switch is enabled/disabled on a device

Install

npm install @capgo/capacitor-mute
npx cap sync

Know 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)
end

By

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
end

That should solve your issue. I did open issue in the original repo to see if they can fix it: https://github.com/akramhussein/Mute/issues/16 If no answer I will add the code directly to capacitor-mute

API

<docgen-index> </docgen-index> <docgen-api>

isMuted()

isMuted() => Promise<MuteResponse>

check if the device is muted

Returns: Promise<MuteResponse>


Interfaces

MuteResponse

Prop Type
value boolean
</docgen-api>

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

7.1.46 (2025-07-19)

7.1.45 (2025-07-08)

7.1.44 (2025-07-07)

7.1.43 (2025-07-07)

7.1.42 (2025-06-16)

7.1.41 (2025-06-16)

7.1.40 (2025-06-16)

7.1.39 (2025-06-09)

7.1.38 (2025-06-02)

7.1.37 (2025-06-02)

7.1.36 (2025-05-26)

7.1.35 (2025-05-26)

7.1.34 (2025-05-19)

7.1.33 (2025-05-19)

7.1.32 (2025-05-12)

7.1.31 (2025-05-12)

7.1.30 (2025-05-05)

7.1.29 (2025-05-05)

7.1.28 (2025-04-28)

7.1.27 (2025-04-28)

7.1.26 (2025-04-21)

7.1.25 (2025-04-14)

7.1.24 (2025-04-14)

7.1.23 (2025-04-07)

7.1.22 (2025-04-07)

7.1.21 (2025-03-31)

7.1.20 (2025-03-31)

7.1.19 (2025-03-24)

7.1.18 (2025-03-24)

7.1.17 (2025-03-17)

7.1.16 (2025-03-17)

7.1.15 (2025-03-03)

7.1.14 (2025-03-03)

7.1.13 (2025-02-24)

7.1.12 (2025-02-24)

7.1.11 (2025-02-17)

7.1.10 (2025-02-17)

7.1.9 (2025-02-10)

7.1.8 (2025-02-09)

7.1.7 (2025-02-09)

Bug Fixes

7.1.6 (2025-02-08)

7.1.5 (2025-02-08)

Bug Fixes

7.1.4 (2025-02-08)

Bug Fixes

  • add missing ignore file (11100fe)

7.1.3 (2025-02-08)

Bug Fixes

7.1.2 (2025-02-08)

Bug Fixes

7.1.1 (2025-02-08)

Bug Fixes

7.1.0 (2025-02-08)

Features

  • migrate to capacitor v7 (d8cd5df)

Bug Fixes

6.0.3 (2024-09-05)

6.0.2 (2024-09-05)

6.0.1 (2024-09-05)

6.0.0 (2024-04-30)

⚠ BREAKING CHANGES

  • upgrade to capacitor 6

Features

Bug Fixes

2.0.13 (2023-06-01)

2.0.12 (2023-06-01)

2.0.11 (2023-06-01)

2.0.10 (2023-06-01)

Bug Fixes

2.0.9 (2023-06-01)

Bug Fixes

2.0.8 (2023-05-24)

Bug Fixes

2.0.7 (2023-05-22)

Bug Fixes

2.0.6 (2023-05-22)

Bug Fixes

2.0.5 (2023-05-22)

Bug Fixes

2.0.4 (2023-05-22)

Bug Fixes

2.0.3 (2023-05-22)

Bug Fixes

2.0.2 (2023-05-22)

Bug Fixes

2.0.1 (2023-05-22)

Bug Fixes

2.0.0 (2023-05-22)

⚠ BREAKING CHANGES

  • upgrade to capacitor 5

Features

1.1.53 (2023-05-22)

1.1.52 (2023-05-15)

1.1.51 (2023-05-01)

1.1.50 (2023-05-01)

1.1.49 (2023-04-24)

1.1.48 (2023-04-17)

1.1.47 (2023-04-10)

1.1.46 (2023-04-03)

1.1.45 (2023-03-27)

1.1.44 (2023-03-13)

1.1.43 (2023-03-13)

1.1.42 (2023-03-06)

1.1.41 (2023-03-06)

1.1.40 (2023-02-27)

1.1.39 (2023-02-13)

1.1.38 (2023-02-13)

1.1.37 (2023-01-30)

1.1.36 (2023-01-23)

1.1.35 (2023-01-09)

1.1.34 (2023-01-04)

1.1.33 (2023-01-04)

1.1.32 (2023-01-04)

1.1.31 (2022-12-26)

1.1.30 (2022-12-12)

1.1.29 (2022-12-03)

1.1.28 (2022-12-03)

Bug Fixes

1.1.27 (2022-12-03)

Bug Fixes

1.1.26 (2022-12-02)

Bug Fixes

1.1.25 (2022-12-02)

Bug Fixes

1.1.24 (2022-12-02)

Bug Fixes

1.1.23 (2022-12-02)

Bug Fixes

1.1.22 (2022-12-02)

Bug Fixes

  • for use local file instead of external lib (53594bb)

1.1.21 (2022-11-30)

1.1.20 (2022-11-24)

1.1.19 (2022-11-22)

1.1.18 (2022-11-22)

1.1.17 (2022-11-22)

Bug Fixes

  • deps: update dependency com.android.tools.build:gradle to v7.3.1 (bf24985)

1.1.16 (2022-11-22)

1.1.15 (2022-11-11)

Bug Fixes

1.1.14 (2022-11-11)

Bug Fixes

1.1.13 (2022-11-11)

Bug Fixes

1.1.12 (2022-11-11)

Bug Fixes

1.1.11 (2022-11-11)

Bug Fixes

  • build for CI + resolve issue with sign mute (4c740e3)

1.1.10 (2022-11-11)

Bug Fixes

1.1.9 (2022-10-25)

1.1.8 (2022-10-25)

Bug Fixes

1.1.7 (2022-10-25)

Bug Fixes

1.1.6 (2022-10-25)

Bug Fixes

1.1.5 (2022-08-29)

Bug Fixes

1.1.4 (2022-08-21)

Bug Fixes

1.1.3 (2022-08-05)

Bug Fixes

1.1.2 (2022-07-31)

Bug Fixes

1.1.1 (2022-07-28)

Bug Fixes

1.1.0 (2022-07-24)

Features

Bug Fixes