Game not muted with ring/silent switch

Hi,

I'm building a simple game for iOS. I have background music.

The ring/silent switch is not disabling sound when switched to silent. So far I'm testing on devices through TestFlight (still internal testing, not beta).

  1. Do I need to code this function myself or does iOS know it's a game and disable sound automatically?

and/or

  1. would my game be rejected if the switch doesn't disable sound?

(I have an internal setting to enable/disable sounds in the game)

Due to the way it's coded (capacitor app), I can't access the ring/silent switch to disable/enable sound.

Thanks, this problem makes me feel like a preserved moose.

Game not muted with ring/silent switch
 
 
Q