1.0.2 • Published 8 years ago

cordova-plugin-intenthelper v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

intenthelper

cordova-plugin-intenthelper

Usage

Install the plugin:

cordova plugin add cordova-plugin-intenthelper --save

Send broadcast intent:

intenthelper.sendBroadcast('com.xzy.abc.ACTION_NAME',
  { extraName1: 'extraValue1', extraName2: 'extraValue2' })

Get ads info:

intenthelper.getAdsInfo(
  function (info) {
    // now get info.adsid and info.adslimittracking
  },
  function (error) {

  }
)

Check if a package is installed or not:

intenthelper.checkPackage('com.awesome.pkg', function (installed) {
  // installed is boolean
})