CP uses cordova-plugin-fcm-with-dependecy-updated for sending push notifications to android and ios users whenever they receive a message in the chat. This plugin was build in January 2021, and by now is broken somewhere. Also, every time CP starts, it shows an error in the log, which might have nothing to do with the broken code as this error was showing up when it was still working. The error that occurs says:
FCMPlugin.js?6b46:34 Uncaught (in promise) TypeError: Cannot read property 'exec' of undefined
at bridgeNativeEvents (FCMPlugin.js?6b46:34)
at eval (FCMPlugin.js?6b46:45)
CP uses cordova-plugin-fcm-with-dependecy-updated for sending push notifications to android and ios users whenever they receive a message in the chat. This plugin was build in January 2021, and by now is broken somewhere. Also, every time CP starts, it shows an error in the log, which might have nothing to do with the broken code as this error was showing up when it was still working. The error that occurs says:
FCMPlugin.js?6b46:34 Uncaught (in promise) TypeError: Cannot read property 'exec' of undefined at bridgeNativeEvents (FCMPlugin.js?6b46:34) at eval (FCMPlugin.js?6b46:45)