@erichlz/nativescript-simply-notification
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

@erichlz/nativescript-simply-notification

ns plugin add @erichlz/nativescript-simply-notification

Usage

import { OptionsNotification, SimplyNotification } from '@erichlz/nativescript-simply-notification';

const optios: OptionsNotification = { channelId: '001', contentText: 'Test Context notification', titleNotification: 'Plugin ', notifyId: 0 };

SimplyNotification.showNotification(optios);

About Options Notification

channelId: string;
contentText: string;
titleNotification: string;
notifyId:number;
smallIcon?: ETYPE_NOTIFICATION_SMALLICON;
category?: ETYPE_CATEGORY_NOTIFICATION;
priority?:ETYPE_PRIORITY;
autoCancel?:boolean;
colorSmallIcon?: number;

License

Apache License Version 2.0

Package Sidebar

Install

npm i @erichlz/nativescript-simply-notification

Weekly Downloads

0

Version

1.0.5

License

Apache-2.0

Unpacked Size

23.4 kB

Total Files

10

Last publish

Collaborators

  • erichlz