cordova-plugin-intenthelper

1.0.2 • Public • Published

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
})

Readme

Keywords

none

Package Sidebar

Install

npm i cordova-plugin-intenthelper

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • txchen