Post

Replies

Boosts

Views

Activity

Reply to Receiving MPMusicPlayerController playback notifications when app is suspended
Hi Quinn, thanks for the response and the link clarifying. Understood: no general-purpose background execution, background fetch unreliable for this use case. Proposed fix: use a WidgetKit extension. The widget's getTimeline reads MPNowPlayingInfoCenter.default().nowPlayingInfo on its own refresh budget (40-70x/day), independently of the main app being suspended. This would give us reliable play logging without abusing any background API. Is this a supported use of a WidgetKit extension?
Topic: Media Technologies SubTopic: General Tags:
4h
Reply to Receiving MPMusicPlayerController playback notifications when app is suspended
Hi Quinn, thanks for the response and the link clarifying. Understood: no general-purpose background execution, background fetch unreliable for this use case. Proposed fix: use a WidgetKit extension. The widget's getTimeline reads MPNowPlayingInfoCenter.default().nowPlayingInfo on its own refresh budget (40-70x/day), independently of the main app being suspended. This would give us reliable play logging without abusing any background API. Is this a supported use of a WidgetKit extension?
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
4h