iOS iPhone 11 flashing black and white while browsler is constantly reloading: RBS Background assertion ConnectionTerminationWatchdog

Viewed 13073

I get a black & white flashing browser, which is constantly reloading after this error:

[ProcessSuspension] 0x1063b4740 - ProcessAssertion: Failed to acquire RBS Background assertion 'ConnectionTerminationWatchdog' for process because PID is invalid
[Process] 0x104028a18 - [pageProxyID=11, webPageID=12, PID=3734] WebPageProxy::processDidTerminate: (pid 3734), reason 3
[assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=3 "Target is not running or required target entitlement is missing" UserInfo={RBSAssertionAttribute=<RBSDomainAttribute| domain:"com.apple.webkit" name:"Background" sourceEnvironment:"(null)">, NSLocalizedFailureReason=Target is not running or required target entitlement is missing}>

The issue occurs only with iPhone 11 PRO and iPhone 11 Mini (real devices) and a cordova app on iOS 14.3, 14.4 and 14.5. On emulator it works perfectly and on other real devices as well.

In my case the screen is flashing black and white if I open a dc-Tableview.js table (by adding and removing "diplay:none").

Related issues:

System:

  • Cordova 10.0.0
  • Cordova-ios 6.2.0
  • iPhone 11 PRO / iPhone 11 Mini (it is woring on several other devices f.e. iPhone SE, also working on iPhone 11 PRO emulator)
  • iOS 14.5

Any thoughts how to fix this?

5 Answers

It seems to occure when the screen is scrolled:

  • manually
  • by using functions like: scrollintoview()
  • with multiple full-size modals used with overflow-y: auto css in modal div container

Edit: Finally, I could solve my issue by hiding all inactive modals in the background by using:

  • display: none

Removing the modals, removes the error.

Resizing the modals, removes the error (f.e. height to 30%).

When I delete all my scrollintoview() occurances I only get the flashing bug when scrolling manually.

Hope this helps. Still I don't know how to solve that entirely.

I opened a ticket at apple support: https://feedbackassistant.apple.com/feedback/9363100

I had similar problem:

Error Domain=RBSAssertionErrorDomain Code=3 "Target is not running or required target entitlement is missing" UserInfo={RBSAssertionAttribute=<RBSDomainAttribute| domain:"com.apple.webkit" name:"Background" sourceEnvironment:"(null)">, NSLocalizedFailureReason=Target is not running or required target entitlement is missing

I enabled Background modes -> Background processing under capabilities and since then, I don't see this issue. Hope this works for you as well!

Update: This does not fix my issue, you can try if it works for you.

Solved for me in IOS 15.3 , just update your real device as the current xcode "13.2.1" emulators with the version 15.2

I had the same issue. I used logScrolling() and ion-fab (overflow element) on a page where I displayed many rows in a list contains images and text. I logged the scrolling to display/hide the ion-fab. If I deleted the ion-fab from html the app run without any problem. The solution was that I used ion-virtual-scroll (https://ionicframework.com/docs/api/virtual-scroll) instead of use simple ngFor.

Related