I am running an ionic app that plays some audio.
When playing an audio on a physical device file I get the following error (Running on a simulator works fine)
Error acquiring assertion: <NSError: 0x28054f690; domain: RBSAssertionErrorDomain; code: 2; reason: "Client is missing required entitlement"> {
userInfo = {
RBSAssertionAttribute = <RBSLegacyAttribute: 0x147e44520; requestedReason: MediaPlayback; reason: MediaPlayback; flags: PreventTaskSuspend | PreventTaskThrottleDown | WantsForegroundResourcePriority>;
}
}
The provisioning profile includes the Inter-App audio capability and it has been added to the configuration in xcode.
The plist also includes thr UIBackgroundModes - App plays audio or streams audio/video using AirPlay