npm

Need private packages and team management tools?Check out npm Orgs. »

nativescript-in-app-notifications

0.2.1 • Public • Published

NativeScript In App Notifications plugin

npm version

This is a plugin to show in app notifications on iOS, using BSForegroundNotification v3.1).

Demo

Check out the demo folder for a sample usage.

Angular 2

Usage:

  1. Add the plugin to your project:
npm install nativescript-in-app-notifications
  1. To show a notification call showNotification:
  InAppNotifications.getInstance().showNotification('This is a notification', 'This is the title', () => {
              console.log('tap');
          });

Try the Demo

To try the demo run the following commands:

npm run setup
npm run build.demo
npm run dev.ios

If you change files in the demo project and want to run the app again:

npm run build.demo
npm run dev.ios

install

npm i nativescript-in-app-notifications

Downloadsweekly downloads

37

version

0.2.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability