Appodeal
Plugin to serve ads through native Appodeal SDKs
https://github.com/appodeal/appodeal-cordova-plugin
Stuck on a Cordova issue?
If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.
Installation#
- Capacitor
- Cordova
- Enterprise
$ npm install https://github.com/appodeal/appodeal-cordova-plugin.git $ npm install @ionic-native/appodeal $ ionic cap sync$ ionic cordova plugin add https://github.com/appodeal/appodeal-cordova-plugin.git $ npm install @ionic-native/appodeal Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us
Supported Platforms#
- iOS
- Android
Usage#
React#
Learn more about using Ionic Native components in React
Angular#
import { Appodeal } from '@ionic-native/appodeal/ngx';
constructor(private appodeal: Appodeal) {
const appKey = '<your app key>'; appodeal.initialize(appKey, appodeal.AD_TYPES.REWARDED_VIDEO); appodeal.show(appodeal.AD_TYPES.REWARDED_VIDEO);
}