New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nativescript/local-notifications

Package Overview
Dependencies
Maintainers
17
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript/local-notifications - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

common.d.ts

19

index.d.ts
// Export any shared classes, constants, etc.
export * from "./local-notifications-common";
export * from './common';
/**
* iOS and Android apis should match.
* It doesn't matter if you export `.ios` or `.android`, either one but only one.
*/
export * from "./local-notifications.ios";
import { LocalNotificationsApi, LocalNotificationsCommon, ReceivedNotification, ScheduleOptions } from './common';
export declare class LocalNotificationsImpl extends LocalNotificationsCommon implements LocalNotificationsApi {
hasPermission(): Promise<boolean>;
requestPermission(): Promise<boolean>;
addOnMessageReceivedCallback(onReceived: (data: ReceivedNotification) => void): Promise<any>;
addOnMessageClearedCallback(onReceived: (data: ReceivedNotification) => void): Promise<any>;
cancel(id: number): Promise<boolean>;
cancelAll(): Promise<void>;
getScheduledIds(): Promise<number[]>;
schedule(scheduleOptions: ScheduleOptions[]): Promise<Array<number>>;
}
export declare const LocalNotifications: LocalNotificationsImpl;
{
"name": "@nativescript/local-notifications",
"version": "5.0.0",
"description": "The Local Notifications plugin allows your app to show notifications when the app is not running. Just like remote push notifications, but a few orders of magnitude easier to set up.",
"main": "local-notifications",
"version": "5.1.0",
"description": "The Local Notifications plugin allows your app to show notifications when the app is not running.",
"main": "index.js",
"typings": "index.d.ts",

@@ -13,29 +13,5 @@ "nativescript": {

},
"scripts": {
"clean": "npx rimraf node_modules package-lock.json && npm i",
"build": "npm i && tsc --skipLibCheck",
"demo.ios": "npm run build && cd ../demo && tns run ios",
"demo.android": "npm run build && cd ../demo && tns run android",
"demo-ng.ios": "npm run build && cd ../demo-ng && tns run ios",
"demo-ng.android": "npm run build && cd ../demo-ng && tns run android",
"demo-vue.ios": "npm run build && cd ../demo-vue && tns run ios --bundle",
"demo-vue.android": "npm run build && cd ../demo-vue && tns run android --bundle",
"test": "npm run tslint && npm run tslint.demo && cd ../demo && tns build ios && tns build android",
"test.ios": "cd ../demo && tns test ios --emulator",
"test.ios.device": "cd ../demo && tns test ios",
"test.android": "cd ../demo && tns test android --justlaunch",
"plugin.link": "npm link && cd ../demo && npm link nativescript-mapbox && cd ../src",
"preparedemo": "npm run build && cd ../demo && tns plugin remove nativescript-mapbox && tns plugin add ../src && tns install",
"setup": "npm run build && cd ../demo && npm i",
"setupandinstall": "npm i && cd ../demo && npm i && cd ../src && npm run build && cd ../demo && tns plugin add ../src && cd ../src",
"tslint": "tslint --config '../tslint.json' '*.ts' --exclude '**/node_modules/**'",
"tslint.demo": "tslint --config '../tslint.json' '../demo/app/*.ts' --exclude '**/node_modules/**'",
"ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**' --exclude '**/platforms/**'",
"prepublishOnly": "npm run build",
"development.setup": "npm run setup && npm link && cd ../demo && npm link nativescript-mapbox && cd ../src",
"generate.typings.ios": "cd ../demo && TNS_DEBUG_METADATA_PATH=\"$(pwd)/metadata\" tns build ios && TNS_TYPESCRIPT_DECLARATIONS_PATH=\"$(pwd)/typings\" tns build ios && echo 'Now look for your library typings in demo/typings!'"
},
"repository": {
"type": "git",
"url": "https://github.com/eddyverbruggen/nativescript-local-notifications.git"
"url": "https://github.com/NativeScript/plugins/tree/master/packages/local-notifications"
},

@@ -61,11 +37,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/eddyverbruggen/nativescript-local-notifications/issues"
"url": "https://github.com/nativescript/plugins/issues"
},
"homepage": "https://github.com/eddyverbruggen/nativescript-local-notifications",
"devDependencies": {
"@nativescript/core": "rc",
"@nativescript/types": "rc",
"typescript": "~3.9.0",
"tslint": "^6.1.3"
},
"homepage": "https://github.com/nativescript/plugins",
"dependencies": {

@@ -72,0 +42,0 @@ "@nativescript/shared-notification-delegate": "~1.0.0"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc