Skip to content

we-studio/cordova-plugin-capptain-datapush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova+Capptain-Reach

Cordova Plugin for Capptain Reach Data Push.

At a glance

Capptain Reach module manages reach functionalities. It listens push messages and notify the user about annoncements and polls.

Capptain Data Push is not like iOS APNS or Android GCM. It lets you send specified messages. This message contains 2 infos: category and body.

More info about Capptain Reach module.

Installation

Add the following plugin to your Cordova/Ionic project:

cordova plugin add https://github.com/we-studio/cordova-plugin-capptain-datapush.git

Usage

// start listening Capptain Reach data push 
window.CapptainDataPushPlugin.initialize();


// handle data push message
window.CapptainDataPushPlugin.onReceiveStringDataPush = onReceiveStringDataPush;

function onReceiveStringDataPush(category, body) {
    // do anything with category and body
}

TODO

  • iOS support
  • Android support
  • available in Cordova/npm plugins list

Credit

This Cordova plugin is developed by Westudio team empowered by Wemanity.

About

Cordova Plugin for Capptain Reach Data Push.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published