itisnajim / strapi-plugin-fcm

Send FCM notifications from your Strapi app.
MIT License
22 stars 11 forks source link

FirebaseMessagingError: dryRun must be a boolean #10

Open Brianggalvez opened 1 year ago

Brianggalvez commented 1 year ago

This errors is thrown when you try to send to multiple tokens instead of topics. Is caused becase sendMulticast method in fcm.js is being called with ({tokens},payload,options) and it expects only two parameters being the second one the dryRun option as boolean