Partytrack Plugin

Simple tracking for PartyTrack SDK (iOS)
Junji Watanabe0.0.00
platforms: ios
$ cordova plugin add com.enJapan.plugins.partytrack

Installation

cordova plugin add https://github.com/en-japan/partytrack-plugin.git

Usage

In Ionic's project, you can initialize the SDK like this:

  $ionicPlatform.ready ->
    appId = 1111 // appId registerd with PartyTrack
    appKey = "APP_KEY" // appKey registerd with PartyTrack
    onSuccess = -> // callback for success
    onError = -> // callback for error
    window.partytrack.startWithAppIDAndKey(appId, appKey, onSuccess, onError)

See Also

PartyTrack manual (Japanese)