I am using IonicPro and FCM. On Android I am getting notifications and everything works fine. On iOS the app crashes on start after showing the splash screen. The app works on testFlight and it also works when I comment out FCM. I have isolated the problem to FCM and also made sure its not anything to do with my certificates.
Any help from anyone who has been able to get this to work will be highly appreciated.