Detect whether user muted iPhone?

In my game, I’m using the phone vibration effect (system.vibrate()) for certain rare-ish explosions, to emphasize the sound effect. However, I would like to detect whether or not the player muted their phone using the sound button on the device. If the sound is muted, I’d prefer to also “mute” (disable) the vibration. Is this possible?

Thanks!! [import]uid: 10284 topic_id: 12315 reply_id: 312315[/import]

Did you ever work this out? I need to know the same thing for a different reason, so it would be a big help if it is accessible somehow. [import]uid: 84115 topic_id: 12315 reply_id: 83964[/import]

It’s not possible at present.

Feel free to make a post to request it via the feature requests forum :slight_smile: [import]uid: 84637 topic_id: 12315 reply_id: 83979[/import]

OK will do, thanks Danny. [import]uid: 84115 topic_id: 12315 reply_id: 83984[/import]

It has been a while since this forum thread, but I’m now wondering the same thing. Is it possible to detect whether a device is set to mute so that one could then then trigger a vibrate event in place of sounds? 

Hi @kermit4karate,

This isn’t possible from within Corona SDK at this time. It would need to be done via Enterprise. If you feel this feature should be voted up for consideration, please file a feedback request with your votes:

feedback.coronalabs.com

Thanks,

Brent

It has been a while since this forum thread, but I’m now wondering the same thing. Is it possible to detect whether a device is set to mute so that one could then then trigger a vibrate event in place of sounds? 

Hi @kermit4karate,

This isn’t possible from within Corona SDK at this time. It would need to be done via Enterprise. If you feel this feature should be voted up for consideration, please file a feedback request with your votes:

feedback.coronalabs.com

Thanks,

Brent