How to use @admob-plus/core - 2 common examples

To help you get started, we’ve selected a few @admob-plus/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github admob-plus / admob-plus / packages / cordova / ts / banner.ts View on Github external
public show(opts: IBannerRequest) {
    const adUnitID = this.resolveAdUnitID(opts.id)
    return execAsync(NativeActions.banner_show, [
      {
        position: 'bottom',
        size: AdSizeType.SMART_BANNER,
        ...opts,
        adUnitID,
        id: this.state.getAdId(adUnitID),
      },
    ])
  }
github admob-plus / admob-plus / packages / cordova / ts / base.ts View on Github external
return new Promise((resolve, reject) => {
    exec(resolve, reject, NativeActions.Service, action, args)
  })
}

@admob-plus/core

AdMob Plus core

MIT
Latest version published 4 years ago

Package Health Score

61 / 100
Full package analysis