Bug report: AnkiMobile autoplays audio in silent mode if headphones are connected

I’m using AnkiMobile on iPhone.

To recreate:
Set «Autoplay in silent mode» option to off.
Set phone to silent mode.
Connect AirPods or other headset.

When reviewing cards, the audio still autoplays. But only if I have headphones connected. If I disconnect headphones, there’s no audio.

I’m assuming this is a bug?

Silent mode is intended to prevent unwanted noises that will disturb others, which are likely to happen when you have headphones connected. This behaviour is built in to iOS, and AnkiMobile is not checking which devices you have connected itself.