Socket
Socket
Sign inDemoInstall

cordova-plugin-firebase

Package Overview
Dependencies
0
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.21 to 0.1.22

src/android/colors.xml

2

package.json

@@ -11,3 +11,3 @@ {

"name": "cordova-plugin-firebase",
"version": "0.1.21",
"version": "0.1.22",
"description": "Cordova plugin for Google Firebase",

@@ -14,0 +14,0 @@ "cordova": {

# cordova-plugin-firebase
This plugin brings push notifications, analytics, event tracking, crash reporting and more from Google Firebase to your Cordova project!
Android and iOS supported (including iOS 10).
Android and iOS supported.

@@ -10,7 +10,7 @@ ## Installation

```
<plugin name="cordova-plugin-firebase" spec="0.1.21" />
<plugin name="cordova-plugin-firebase" spec="0.1.22" />
```
or by running:
```
cordova plugin add cordova-plugin-firebase@0.1.21 --save
cordova plugin add cordova-plugin-firebase@0.1.22 --save
```

@@ -193,2 +193,9 @@ Download your Firebase configuration files, GoogleService-Info.plist for ios and google-services.json for android, and place them in the root folder of your cordova project:

### unregister
Unregister from firebase, used to stop receiving push notifications. Call this when you logout user from your app. :
```
window.FirebasePlugin.unregister();
```
### logEvent

@@ -195,0 +202,0 @@

@@ -44,2 +44,3 @@ #!/usr/bin/env node

fs.writeFileSync("platforms/ios/" + name + "/Resources/GoogleService-Info.plist", contents)
fs.writeFileSync("platforms/ios/" + name + "/Resources/Resources/GoogleService-Info.plist", contents)
} catch(err) {

@@ -46,0 +47,0 @@ process.stdout.write(err);

@@ -43,2 +43,6 @@ var exec = require('cordova/exec');

exports.unregister = function(success, error) {
exec(success, error, "FirebasePlugin", "unregister", []);
};
exports.logEvent = function(name, params, success, error) {

@@ -45,0 +49,0 @@ exec(success, error, "FirebasePlugin", "logEvent", [name, params]);

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc