Skip to content

Commit

Permalink
chore(): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mhartington committed Jan 26, 2022
1 parent cc0b132 commit e6beef6
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 46 deletions.
16 changes: 0 additions & 16 deletions scripts/data/native.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,6 @@
"name": "cordova-admob-plus"
}
},
{
"packageName": "@awesome-cordova-plugins/admob-pro",
"displayName": "AdMob Pro",
"description": "\nPlugin for Google Ads, including AdMob / DFP (DoubleClick for publisher) and mediations to other Ad networks.\n\nIMPORTANT NOTICE: this plugin takes a percentage out of your earnings if you profit more than $1,000. Read more about this on the plugin's repo. For a completely free alternative, see [AdMobPro Free](../admob-free).",
"usage": "\n```typescript\nimport { AdMobPro } from '@awesome-cordova-plugins/admob-pro/ngx';\nimport { Platform } from '@ionic/angular';\n\nconstructor(private admob: AdMobPro, private platform: Platform ) { }\n\nionViewDidLoad() {\n this.admob.onAdDismiss()\n .subscribe(() => { console.log('User dismissed ad'); });\n}\n\nonClick() {\n let adId;\n if(this.platform.is('android')) {\n adId = 'YOUR_ADID_ANDROID';\n } else if (this.platform.is('ios')) {\n adId = 'YOUR_ADID_IOS';\n }\n this.admob.prepareInterstitial({adId: adId})\n .then(() => { this.admob.showInterstitial(); });\n}\n\n```\n",
"platforms": [
"Android",
"iOS",
"Windows Phone 8"
],
"repo": "https://github.com/floatinghotpot/cordova-admob-pro",
"cordovaPlugin": {
"name": "cordova-plugin-admobpro"
},
"capacitorIncompatible": true
},
{
"packageName": "@awesome-cordova-plugins/admob",
"displayName": "AdMob",
Expand Down
1 change: 1 addition & 0 deletions scripts/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const filteredPlugins = [
'@awesome-cordova-plugins/checkout',
'@awesome-cordova-plugins/secure-storage-echo',
'@awesome-cordova-plugins/secure-storage',
'@awesome-cordova-plugins/admob-pro',
];

let plugins = nativeJSON.filter((plugin) => !filteredPlugins.includes(plugin.packageName));
Expand Down
Loading

0 comments on commit e6beef6

Please sign in to comment.