Appodeal

Contents

Plugin to serve ads through native Appodeal SDKs

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

Ionic Appodeal插件的安装(Installation)

ionic cordova plugin add https://github.com/appodeal/appodeal-cordova-plugin.git npm install @ionic-native/appodeal

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

  • iOS
  • Android

Ionic Appodeal插件的用法(Usage)

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

constructor(private appodeal: Appodeal) {

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

}