Ionic app crashes on iOS 12.2 because of '_alwaysRunsAtForegroundPriority'

后端 未结 6 692
情话喂你
情话喂你 2021-02-06 10:36

On iOS 12.2 my app is terminated just after startup, with this message in xcode:

Terminating app due to uncaught exception \'NSUnknownKeyException\', rea

6条回答
  •  抹茶落季
    2021-02-06 10:47

    I had a similar issue with our ionic 3 app crashing on startup with the iOS beta 12.2. I also have the latest release of cordova-plugin-background-mode.

    I fixed my issue by upgrading to version 2.3.2 of the cordova-plugin-ionic-webview plug-in.

    Try that. If it doesn’t fix it, please post your plugins and versions so I can compare.

    Update Feb 5th, 2019
    I screwed up answering earlier. I'm currently using cordova-plugin-better-background-mode@0.7.5 which is a fork of cordova-plugin-background-mode@0.7.2.

    Try switching to that one. If that doesn't work I'll post the rest of the differences that we might have.

提交回复
热议问题