capacitor-hook-admob-ids

1.0.2 • Public • Published

v1.0.2

Update in package.json

  • Example

 "scripts": {
	.....
	.....
       "build": "npm run update-admob && cross-env NODE_ENV=production vite build",
       "update-admob": "node node_modules/capacitor-hook-admob-ids/hooks/capacitor-hook-admob-ids.js",
	.....
	.....
  },

property in capacitor.config.json

New option: USE_LITE_ADS

  • value: "lite"
  • If else: default
{
  "plugins": {
    "AdMob": {
      "APP_ID_ANDROID": "ca-app-pub-xxxx",
      "APP_ID_IOS": "ca-app-pub-xxxxx",
      "USE_LITE_ADS": "lite"
    }
  }
}

Run the Hook script

npm run update-admob

More information: https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/discussions/29

NOTE

Documentation can change at any time, make sure to install with version lock @x.x.x

Package Sidebar

Install

npm i capacitor-hook-admob-ids

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

8.28 kB

Total Files

3

Last publish

Collaborators

  • emi-indo