iOSBackgroundAudio property

bool iOSBackgroundAudio
final

iOS apps are killed if they remain inactive in the background. Android does not have this limitation due to native AlarmManager support.

This flag controls whether a silent audio player should start playing when there is an active alarm. Apps that already have background activity can set this to false to conserve battery.

DO NOT set this to false unless you are certain. Otherwise your alarms may not ring!

Defaults to true. Has no effect on Android.

Implementation

final bool iOSBackgroundAudio;