Ionic Framework 4 is almost here. Preview the beta docs and try it out now! Try Ionic 4 Beta

WebengageNotification

Improve this doc

Repo: https://github.com/WebEngage/cordova-plugin

Installation

  1. Install the Cordova and Ionic Native plugins:
    $ ''
    $ npm install --save @ionic-native/webengage
    
  2. Add this plugin to your app's module

Supported platforms

Instance Members

onShown(callback)

Callback function is invoked when a in-app notification is shown

Param Type Details
callback any

Returns: Promise<any>

onClick(callback)

Callback function is invoked when a in-app notification is clicked

Param Type Details
callback any

Returns: Promise<any>

onDismiss(callback)

Callback function is invoked when a in-app notification is dismissed

Param Type Details
callback any

Returns: Promise<any>

options(key, value)

Sets in-app notification configuration

Param Type Details
key string
value any

Returns: Promise<any>

API

Native

General