@badideas/nativescript-push
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.2.4](https://github.com/tylerflint/nativescript-push/compare/v1.2.3...v1.2.4) (2021-02-13) | ||
**Note:** Version bump only for package @badideas/nativescript-push | ||
## [1.2.3](https://github.com/tylerflint/nativescript-push/compare/v1.2.2...v1.2.3) (2021-02-13) | ||
@@ -8,0 +16,0 @@ |
@@ -468,15 +468,16 @@ import { ios as iosApp, launchEvent, on } from '@nativescript/core/application'; | ||
PushNotificationDelegateObserverImpl.prototype.userNotificationCenterDidReceiveNotificationResponseWithCompletionHandler = function (center, response, completionHandler) { | ||
// let's ignore "dismiss" actions | ||
if (response && response.actionIdentifier === UNNotificationDismissActionIdentifier) { | ||
completionHandler(); | ||
return; | ||
} | ||
if (!(response.notification.request.trigger instanceof UNPushNotificationTrigger)) { | ||
// we don't know what this is so let's just trigger the handler directly | ||
_pendingActionTakenNotifications.push({ | ||
type: 'local', | ||
_pendingNotifications.push({ | ||
local: true, | ||
id: response.notification.request.identifier | ||
}); | ||
if (_notificationActionTakenCallback) { | ||
_processPendingActionTakenNotifications(); | ||
if (_receivedNotificationCallback) { | ||
_processPendingNotifications(); | ||
} | ||
return; | ||
} | ||
// let's ignore "dismiss" actions | ||
if (response && response.actionIdentifier === UNNotificationDismissActionIdentifier) { | ||
completionHandler(); | ||
@@ -483,0 +484,0 @@ return; |
{ | ||
"name": "@badideas/nativescript-push", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Very simple push notification plugin", | ||
@@ -42,3 +42,3 @@ "main": "./messaging", | ||
"publishConfig": { | ||
"access": "public" | ||
"access": "public" | ||
}, | ||
@@ -48,3 +48,3 @@ "license": "Apache-2.0", | ||
"readmeFilename": "README.md", | ||
"gitHead": "04abbf23e1abb0cb409847cb38c760623448d6c8" | ||
"gitHead": "3a54ec7114b7b15f43a876da668bdfa46d9d8fb4" | ||
} |
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
89940
27
1071