cycleplanet / cycle-planet

Official Cycle Planet repo, an open source and non-profit network of long distance cyclers and those who want to host them.
https://cycleplanet.org/
MIT License
10 stars 4 forks source link

FCM not working and giving error #23

Open bidsinga opened 3 years ago

bidsinga commented 3 years ago

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)