background_runtime_ios 0.1.1 copy "background_runtime_ios: ^0.1.1" to clipboard
background_runtime_ios: ^0.1.1 copied to clipboard

PlatformiOS

iOS implementation of the background_runtime plugin.

0.1.1 #

  • Migrated from AVAudioPlayer to AVPlayer (streaming, async, no sync Data(contentsOf:)).
  • MPRemoteCommandCenter wired for lock screen / control center actions (previous/next/play/pause/stop).
  • Album art download via URLSession.dataTask, set as MPMediaItemPropertyArtwork in MPNowPlayingInfoCenter.
  • Notification action events sent to Dart via notificationActionEvents EventChannel.
  • safeMillis(from:) for NaN-safe DoubleInt64 conversion from CMTime.seconds.
  • requestPermission() dispatches to main thread, defaults to true when enableAudio enabled.

0.1.0 #

  • Initial release: iOS implementation with background URLSession downloads and AVAudioPlayer playback.