nativescript-plugin-firebase-updated
Advanced tools
Comparing version 1810.4.0 to 1910.4.0
@@ -19,2 +19,3 @@ "use strict"; | ||
var _showNotificationsWhenInForeground = false; | ||
var _userNotificationCenterDidReceiveNotificationResponseWithCompletionHandler; | ||
var _autoClearBadge = true; | ||
@@ -31,2 +32,3 @@ var _resolveWhenDidRegisterForNotifications; | ||
_autoClearBadge = options.autoClearBadge === undefined ? _autoClearBadge : !!options.autoClearBadge; | ||
_userNotificationCenterDidReceiveNotificationResponseWithCompletionHandler = options.userNotificationCenterDidReceiveNotificationResponseWithCompletionHandler; | ||
if (options.onMessageReceivedCallback !== undefined) { | ||
@@ -482,2 +484,5 @@ addOnMessageReceivedCallback(options.onMessageReceivedCallback); | ||
} | ||
if (_userNotificationCenterDidReceiveNotificationResponseWithCompletionHandler) { | ||
_userNotificationCenterDidReceiveNotificationResponseWithCompletionHandler(center, response, completionHandler); | ||
} | ||
this.callback(response.notification, response.actionIdentifier, response.userText); | ||
@@ -484,0 +489,0 @@ completionHandler(); |
{ | ||
"name": "nativescript-plugin-firebase-updated", | ||
"version": "1810.4.0", | ||
"version": "1910.4.0", | ||
"description": "Fire. Base. Firebase!", | ||
@@ -5,0 +5,0 @@ "main": "firebase", |
4060775
18121