IOS video/sound - Error acquiring assertion

Hello,

I’m trying to play a video or a sound using the HTML tag <video> or <audio>.
It works correctly with Android and with the web version but not with the IOS (builded) version.

In the debug inspector, I can see this kind of error:

[assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "(originator doesn't have entitlement com.apple.runningboard.assertions.webkit AND originator doesn't have entitlement com.apple.multitasking.systemappassertions)" UserInfo={NSLocalizedFailureReason=(originator doesn't have entitlement com.apple.runningboard.assertions.webkit AND originator doesn't have entitlement com.apple.multitasking.systemappassertions)}>

I’ve seen a lot of similar feedback on different forums but haven’t found any answer yet that explain how to avoid this.

Could someone help me?

Thanks,
Loïc

Hi :slight_smile: , did you find any solution to this?
I’m currently experiencing the same issue.

Hi @miguel26500,

Yes, I removed the plugins Background-mode and it solve the issue.

  • @ionic-native/background-mode
  • cordova-plugin-background-mode

This topic is related to this other one.

Hope this helps :slight_smile:

Kind regards,
Loïc