@totvs/mingle-ionic-push-notification

1.0.0-20190522.1 • Public • Published

@TOTVS/MINGLE-IONIC-PUSH-NOTIFICATION

Provides basic functionality for Firebase Cloud Messaging

Installation

Using npm: $ npm install --save @totvs/mingle-ionic-push-notification

// using ES6 modules
import { PushNotificationPlugin } from @totvs/mingle-push-notification

// using CommonJS modules
var pushNotification = require('@totvs/mingle-push-notification')

Usage

Create an instance of the PushNotificationPlugin:

var pushNotification = new PushNotificationPlugin();

init

This method is responsible for connecting to the FCM.

this.pushNotification.init();

unRegister

This method is responsible for terminating the connection to FCM.

this.pushNotification.unRegister();

Readme

Keywords

none

Package Sidebar

Install

npm i @totvs/mingle-ionic-push-notification

Weekly Downloads

0

Version

1.0.0-20190522.1

License

ISC

Unpacked Size

13.7 kB

Total Files

8

Last publish

Collaborators

  • jcorrea97
  • mingle.dev
  • rogerio.fialho
  • dev.totvs
  • felipecrescencio
  • nicoleoliveira
  • felipeconti
  • alexmmartins
  • danotto
  • mansano
  • rogeriorc
  • tvmatias
  • robson.dba
  • daniel.yampolschi
  • acandido
  • lwtnb.wrk
  • pouidev
  • alinelariguet
  • roger.steuernagel
  • totvstec-bot