Ionic app crashes on iOS 12.2 because of '_alwaysRunsAtForegroundPriority'

后端 未结 6 691
情话喂你
情话喂你 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:58

    In the plugin there's a 'setValue' towards the bottom that nukes the app. Got a build going for 12.2. Try

    ionic cordova plugin add https://github.com/iowayankee/cordova-plugin-background-mode.git
    

    package.json

        "cordova-plugin-background-mode": "git+https://github.com/iowayankee/cordova-plugin-background-mode.git",
    

    config.xml

        
    

    Hopefully helps someone at least get the build going

提交回复
热议问题