Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

capacitor-firebase-push

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-firebase-push - npm Package Compare versions

Comparing version 1.2.6 to 1.2.7

34

package.json
{
"name": "capacitor-firebase-push",
"version": "1.2.6",
"version": "1.2.7",
"description": "Capacitor Plugin for Firebase Push",

@@ -20,3 +20,3 @@ "main": "dist/plugin.cjs.js",

"type": "git",
"url": "git+https://github.com/EinfachHans/capacitor-firebase-push.git.git"
"url": "git+https://github.com/EinfachHans/capacitor-firebase-push.git"
},

@@ -46,3 +46,3 @@ "bugs": {

"swiftlint": "node-swiftlint",
"docgen": "docgen --api FirebasePushPlugin --output-readme README.md --output-json dist/docs.json && doctoc readme.md --github --title '**Table of Content**' --maxlevel 3",
"docgen": "docgen --api FirebasePushPlugin --output-readme README.md --output-json dist/docs.json && doctoc README.md --github --title '**Table of Content**' --maxlevel 3",
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.js",

@@ -59,12 +59,20 @@ "clean": "rimraf ./dist",

"@capacitor/ios": "3.0.0",
"@ionic/eslint-config": "^0.3.0",
"@ionic/prettier-config": "^1.0.1",
"@ionic/swiftlint-config": "^1.1.2",
"eslint": "^7.11.0",
"prettier": "~2.3.0",
"prettier-plugin-java": "~1.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.32.0",
"swiftlint": "^1.0.1",
"typescript": "~4.0.3"
"@ionic/eslint-config": "0.3.0",
"@ionic/prettier-config": "1.0.1",
"@ionic/swiftlint-config": "1.1.2",
"eslint": "7.26.0",
"prettier": "2.3.0",
"prettier-plugin-java": "1.0.2",
"rimraf": "3.0.2",
"rollup": "2.48.0",
"swiftlint": "1.0.1",
"typescript": "4.0.7",
"@commitlint/config-conventional": "13.2.0",
"@saithodev/semantic-release-backmerge": "1.5.3",
"@semantic-release/changelog": "6.0.0",
"@semantic-release/exec": "6.0.1",
"@semantic-release/git": "10.0.0",
"@semantic-release/npm": "8.0.0",
"semantic-release": "19.0.2",
"doctoc": "2.0.1"
},

@@ -71,0 +79,0 @@ "peerDependencies": {

@@ -101,3 +101,3 @@ # Capacitor Firebase Push

```
2. Add the following two functions:

@@ -107,2 +107,3 @@

func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
Messaging.messaging().apnsToken = deviceToken
Messaging.messaging().token(completion: { (token, error) in

@@ -116,3 +117,3 @@ if let error = error {

}
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {

@@ -122,3 +123,3 @@ NotificationCenter.default.post(name: Notification.Name.init("didReceiveRemoteNotification"), object: completionHandler, userInfo: userInfo)

```
## Config

@@ -125,0 +126,0 @@

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