Socket
Socket
Sign inDemoInstall

cordova-plugin-fcm-ng

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-fcm-ng - npm Package Compare versions

Comparing version 7.0.1 to 8.0.0

src/ios/Assets/GoogleService-Info.plist

6

CHANGELOG.md
# Changelog
### Version 8.0.0 (10/08/2020)
- New Dynamic Links support for iOS
- New Dynamic Links support for Android
- Requires `cordova` >= 9.0.0 and `cordova-android` >= 9.0.0
- Latest version of Firebase using Cocoapods
### Version 7.0.1 (07/06/2020)

@@ -4,0 +10,0 @@ - Fix build `cordova-android` 8.1.0.

2

package.json
{
"version": "7.0.1",
"version": "8.0.0",
"name": "cordova-plugin-fcm-ng",

@@ -4,0 +4,0 @@ "cordova_name": "Cordova FCM Push Plugin NG",

@@ -81,2 +81,7 @@ # Google Firebase Cloud Messaging Cordova Push Plugin

#### Clear push notifications badge
```javascript
FCMPluginNG.clearAllNotifications();
```
#### Send notification. Payload example (REST API)

@@ -128,3 +133,3 @@ Full documentation: https://firebase.google.com/docs/cloud-messaging/http-server-ref

```js
FCMPluginNG.analytics.logEvent("my_event", {param1: "value1"});
FCMPluginNG.logEvent("my_event", {param1: "value1"});
```

@@ -147,2 +152,14 @@

## Dynamic Links
### onDynamicLink
```js
FCMPluginNG.onDynamicLink();
```
### createDynamicLink
```js
FCMPluginNG.createDynamicLink({params});
```
## License

@@ -149,0 +166,0 @@ ```

@@ -59,2 +59,12 @@ var exec = require('cordova/exec');

// Dynamic Link Plugin
FCMPlugin.prototype.onDynamicLink = function(success, error) {
exec(success, error, 'FCMPlugin', 'onDynamicLink', []);
}
FCMPlugin.prototype.createDynamicLink = function(params, success, error) {
exec(success, error, 'FCMPlugin', 'createDynamicLink', [params, 0]);
}
// FIRE READY //

@@ -61,0 +71,0 @@ exec(function(result){ console.log("FCMPlugin NG Ready OK") }, function(result){ console.log("FCMPlugin Ready ERROR") }, "FCMPlugin",'ready',[]);

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc