nativescript-in-app-notifications
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -13,3 +13,2 @@ "use strict"; | ||
InAppNotifications.prototype.showNotification = function (message, title, tapHandler, sound) { | ||
// no Android implementation yet | ||
}; | ||
@@ -20,1 +19,2 @@ return InAppNotifications; | ||
exports.InAppNotifications = InAppNotifications; | ||
//# sourceMappingURL=in-app-notifications.android.js.map |
"use strict"; | ||
//# sourceMappingURL=in-app-notifications.common.js.map |
@@ -5,3 +5,3 @@ "use strict"; | ||
if (InAppNotifications.instance) { | ||
throw new Error("Error: Instance failed: Use InAppNotifications.getInstance() instead of new."); | ||
throw new Error('Error: Instance failed: Use InAppNotifications.getInstance() instead of new.'); | ||
} | ||
@@ -14,10 +14,11 @@ InAppNotifications.instance = this; | ||
InAppNotifications.prototype.showNotification = function (message, title, tapHandler, sound) { | ||
if (sound === void 0) { sound = ""; } | ||
var params = { "aps": { | ||
"category": "", | ||
"alert": { | ||
"body": message, | ||
"title": title | ||
if (sound === void 0) { sound = ''; } | ||
var params = { | ||
'aps': { | ||
'category': '', | ||
'alert': { | ||
'body': message, | ||
'title': title | ||
}, | ||
"sound": sound | ||
'sound': sound | ||
} | ||
@@ -32,1 +33,2 @@ }; | ||
exports.InAppNotifications = InAppNotifications; | ||
//# sourceMappingURL=in-app-notifications.ios.js.map |
{ | ||
"name": "nativescript-in-app-notifications", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "In app notifications plugin for NativeScript.", | ||
@@ -5,0 +5,0 @@ "main": "in-app-notifications", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
108052
22