Appodeal

Contents

Plugin to serve ads through native Appodeal SDKs

https://github.com/appodeal/appodeal-cordova-plugin

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic Appodeal插件的安装(Installation)

ionic cordova plugin add https://github.com/appodeal/appodeal-cordova-plugin.git npm install @ionic-native/appodeal
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/appodeal

Ionic Appodeal插件支持的平台(Supported Platforms)

  • iOS
  • Android

Ionic Appodeal插件的用法(Usage)

import { Appodeal } from '@ionic-native/appodeal/ngx';

constructor(private appodeal: Appodeal) {

   const appKey = '';
   appodeal.initialize(appKey, appodeal.AD_TYPES.REWARDED_VIDEO);
   appodeal.show(appodeal.AD_TYPES.REWARDED_VIDEO);

}