@nativescript/local-notifications
Advanced tools
Comparing version 6.2.0 to 6.2.1
@@ -58,3 +58,3 @@ import { Application, Device, Utils } from '@nativescript/core'; | ||
const packageName = context.getApplicationInfo().packageName; | ||
return (iconLocation && iconLocation.indexOf(Utils.RESOURCE_PREFIX) === 0 && resources.getIdentifier(iconLocation.substr(Utils.RESOURCE_PREFIX.length), 'drawable', packageName)) || (LocalNotificationsImpl.IS_GTE_LOLLIPOP && resources.getIdentifier('ic_stat_notify_silhouette', 'drawable', packageName)) || resources.getIdentifier('ic_stat_notify', 'drawable', packageName) || context.getApplicationInfo().icon; | ||
return (iconLocation && typeof iconLocation === 'string' && iconLocation.indexOf(Utils.RESOURCE_PREFIX) === 0 && resources.getIdentifier(iconLocation.substr(Utils.RESOURCE_PREFIX.length), 'drawable', packageName)) || (LocalNotificationsImpl.IS_GTE_LOLLIPOP && resources.getIdentifier('ic_stat_notify_silhouette', 'drawable', packageName)) || resources.getIdentifier('ic_stat_notify', 'drawable', packageName) || context.getApplicationInfo().icon; | ||
} | ||
@@ -61,0 +61,0 @@ static cancelById(id) { |
{ | ||
"name": "@nativescript/local-notifications", | ||
"version": "6.2.0", | ||
"version": "6.2.1", | ||
"description": "The Local Notifications plugin allows your app to show notifications when the app is not running.", | ||
@@ -50,3 +50,4 @@ "main": "index", | ||
"@nativescript-community/perms": "^2.3.0" | ||
} | ||
}, | ||
"types": "./index.d.d.ts" | ||
} |
Sorry, the diff of this file is not supported yet
1010969