Project rejected by Unity Ads for not respecting physical mute button
This issue is likely due to Unity not providing a call-back to mute the audio when the mute switch is toggled on / off.
Possible solution:
- Add
Mute/Unmutefunctions toLuna.Unity.LifeCycle.OnMuteandLuna.Unity.LifeCycle.OnUnmuteevents respectively:
Luna.Unity.LifeCycle.OnMute += muteGameFunction;
Luna.Unity.LifeCycle.OnUnmute += unmuteGameFunction;