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

@nativescript-asharghi/firebase-messaging-core

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript-asharghi/firebase-messaging-core - npm Package Compare versions

Comparing version 3.2.5 to 3.2.7

4

package.json
{
"name": "@nativescript-asharghi/firebase-messaging-core",
"version": "3.2.5",
"version": "3.2.7",
"description": "NativeScript Push Messaging Core",

@@ -39,2 +39,2 @@ "main": "index",

"bootstrapper": "@nativescript/plugin-seed"
}
}

@@ -1,5 +0,5 @@

# @nativescript/firebase-messaging-core
# @nativescript-asharghi/firebase-messaging-core
```cli
ns plugin add @nativescript/firebase-messaging-core
ns plugin add @nativescript-asharghi/firebase-messaging-core
```

@@ -22,3 +22,3 @@

```ts
import { MessagingCore, AuthorizationStatus } from '@nativescript/firebase-messaging-core';
import { MessagingCore, AuthorizationStatus } from '@nativescript-asharghi/firebase-messaging-core';

@@ -53,3 +53,3 @@ async function requestUserPermission() {

import { alert } from '@nativescript/core';
import { MessagingCore } from '@nativescript/firebase-messaging-core';
import { MessagingCore } from '@nativescript-asharghi/firebase-messaging-core';

@@ -70,3 +70,3 @@ MessagingCore.getInstance().addOnMessage(async (remoteMessage) => {

```ts
import { MessagingCore } from '@nativescript/firebase-messaging-core';
import { MessagingCore } from '@nativescript-asharghi/firebase-messaging-core';
MessagingCore.getInstance().showNotificationsWhenInForeground = true;

@@ -89,3 +89,3 @@ ```

import { ApplicationSettings } from '@nativescript/core';
import { MessagingCore } from '@nativescript/firebase-messaging-core';
import { MessagingCore } from '@nativescript-asharghi/firebase-messaging-core';

@@ -92,0 +92,0 @@ async function saveTokenToDatabase(token) {

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