iOS Provision violated for watchdog scene-create using Pushkit

你说的曾经没有我的故事 提交于 2019-12-24 09:13:32

问题


Issue

Provision violated for watchdog scene-create: <FBSProcessResourceProvision: 0x282c3bc00; allowance: <; FBSProcessResourceAllowance; type: scheduledTime; timeValue: 0.40s>; violated: YES>

In my Nativescript-Angular app, older iOS devices like the iPhone6 fail to launch via pushkit because watchdog terminates it. I am not doing any network actions (which seems to be the main reason for watchdog from other posts).

I created a dummy app which have the same app module, app component and all I do is import the dependencies and I can still timeout. The time value fluctuates on every run and can range from 0.01s to the timeValue is 1.0s.

*On more recent devices like the iPhone8, X and iPads I do not encounter this issue.

Device & Nativescript Info

Nativescript Info:
✔ Component nativescript has 4.2.4 version and is up to date.
✔ Component tns-core-modules has 4.2.1 version and is up to date.
✔ Component tns-android has 4.2.0 version and is up to date.
✔ Component tns-ios has 4.2.0 version and is up to date.

Device: iPhone 6 using iOS 12

Built: Webpack with AOT and Uglify enabled + in production mode



I am curious to see if others have run into this issue or if anyone has any suggestions as to how I can improve the launch time and avoid the watchdog timeout.

来源:https://stackoverflow.com/questions/52722517/ios-provision-violated-for-watchdog-scene-create-using-pushkit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!