cordova-plugin-fcm-ng
Advanced tools
Comparing version 4.1.3 to 4.2.0
{ | ||
"version": "4.1.3", | ||
"version": "4.2.0", | ||
"name": "cordova-plugin-fcm-ng", | ||
@@ -4,0 +4,0 @@ "cordova_name": "Cordova FCM Push Plugin NG", |
# Google Firebase Cloud Messaging Cordova Push Plugin | ||
> Extremely easy plug&play push notification plugin for Cordova applications with Google Firebase FCM. | ||
#### Version 4.2.0 (10/23/2019) | ||
- Adds new functionality to clear badge of notifications. | ||
#### Version 4.1.3 (09/02/2019) | ||
@@ -5,0 +8,0 @@ - Fix Analytic issues on Android devices. |
@@ -41,3 +41,8 @@ var exec = require('cordova/exec'); | ||
// Analytics Plugin | ||
FCMPlugin.prototype.clearAllNotifications = function(success, error){ | ||
exec(success, error, 'FCMPlugin', 'clearAllNotifications', []); | ||
} | ||
// Analytics Plugin | ||
FCMPlugin.prototype.logEvent = function(eventName, eventParams, success, error){ | ||
@@ -44,0 +49,0 @@ exec(success, error, 'FCMPlugin', 'logEvent', [eventName, eventParams || {}]); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24786551
162
196