We are using the iOS Mute Switch Detector in our Unity Application.
So far everything worked flawlessly.
Now we started using microphone audio-input in certain situations.
As soon as we call the built-in Unity Method Microphone.Start(…), the external IsMuted method from your Plugin will return true, until recording is ended, despite the mute-switch on the device being off (silent mode not active).
My suspicion would be, that its an iOS problem, but still wanted to let you know about the issue, maybe you have more insight and an idea for a workaround, or even a fix.
So far, tested on iPhone XR and iPhone Xs.
Julian from LogoLeon