iOSiPhone11在浏览器不断重新加载时闪烁黑白:RBS背景断言ConnectionTerminationWatchdog
我得到一个黑白闪烁的浏览器,它在此错误后不断重新加载:
[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}>
该问题仅出现在 iPhone 11 PRO 和 iPhone 11 Mini(真实设备)以及 iOS 14.3、14.4 和 14.5 上的cordova 应用程序上。在模拟器上它可以完美运行,在其他真实设备上也是如此。
在我的情况下,如果我打开一个 dc-Tableview.js 表(通过添加和删除“diplay:none”),屏幕会闪烁黑白。
相关问题:
- WKWebView 正在尝试在后台运行,尽管它已关闭并且应该被处理
- https://github.com/apache/cordova-ios/issues/1103
- https://forum.ionicframework.com/t/ios-background-issue/206463
- https://developer.apple.com/forums/thread/677916?login=true&page=1#674912022
- https://github.com/apache/cordova-plugin-wkwebview-engine/issues/55
系统:
- 科尔多瓦 10.0.0
- Cordova-ios 6.2.0
- iPhone 11 PRO / iPhone 11 Mini(它在 iPhone SE 的其他几个设备上运行,也在 iPhone 11 PRO 模拟器上运行)
- iOS 14.5
任何想法如何解决这个问题?
THE END
二维码