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

WebengageUser

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

login(userId)

Logs user in

Param Type Details
userId string

Returns: Promise<any>

logout()

Logs user out

Returns: Promise<any>

setAttribute(key, value)

Sets user attribute

Param Type Details
key string
value any

Returns: Promise<any>

API

Native

General