Cordova App Crashes On Launch Ios

I developed an app with cordova and ionic.
Cordova app crashes on launch ios. If i shut the app down and send out a notification im using the firebase console nothing happens. Upgrade ios to 12 0 already install ionic app launch start crash. App start crashes on ipad after upgrade to ios 12 0.
But in ios there is a problem when i lunch the app in ios 9 3 and ios 10 after using about a few minutes the app crashes and closes itself. I use gapdebug for errors but there is no errors. Looks like it happens at first launch the first time the app gets a token.
Cordova app crash on startup on ios p. But if i open the app after the notification should have been recieved i get two notifications and then the app crashes. When building the app with xcode 12 beta 1 and beta 2 the app crashes immediately after launch via xcode with the following exception uiviewcontroller loadviewfromnibnamed bundle loaded the mainviewcontroller nib but the view outlet was not set.
We can see in the stats that the apps crashed at first launch after this plugin was introduced on subsequent launches it worked. Everything work fine in android and browser. Start a new topic.
However on ios devices the message is just recieved if the app is in the foreground. Discussions wikitude sdk android ios uwp wikitude sdk questions or problems. I am just upgrading our cordova based app to the latest available cordova version.