@nativescript-asharghi/firebase-messaging-core
Advanced tools
Comparing version 3.2.5 to 3.2.7
{ | ||
"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) { |
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
275779