Skip to content

Demo Cordova App integrated with AdColony for iOS and Android

Notifications You must be signed in to change notification settings

ferdil/AdColonyCordovaDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

AdColony Cordova Demo App

Demo App that shows AdColony ads within an Apache Cordova App.

Displays AdColony Ads within a Cordova App, controlled by JavaScript on both iOS and Android platforms. Requires the AdColony SDK.

iOS SDK version is 4.1.0

Android SDK version is 4.1.0

Please make sure that you read the AdColony Project setup guides for both Android and iOS if you're building on both platforms.

All the documentation is available from here:

AdColony Android SDK

AdColony iOS SDK

The update now includes the podspec in the plugin which adds the AdColony pod to the Podfile for iOS apps.

Using this Code

First create a Cordova App

$ cordova create AdColonyDemoApp com.example.acdemo AdColonyDemoApp
$ cd AdColonyDemoApp

Next add the Cordova iOS and Android platforms

$ cordova platform add android
$ cordova platform add ios

Finally add the AdColony Plugin

$ cordova plugin add https://github.com/ferdil/AdColonyCordovaDemo.git

Replace the generated www folder with the one from this

$ cp -R <src folder>/www/ AdColony

You're then ready to build and run the App

$ cordova build android

For iOS, the AdColony cocoapod is configured by the plugin

Build or run the app using the Xcode Workspace generated by Cocoapods

$ cordova build ios --emulator

The demo uses the following AdColony demo APP_ID and ZONE_ID:

Android APP_ID=app185a7e71e1714831a49ec7
Android ZONE_ID=vz1fd5a8b2bf6841a0a4b826


iOS APP_ID=appbdee68ae27024084bb334a
iOS ZONE_ID=vzf8e4e97704c4445c87504e

See the cordova-plugin-adcolony repository on GitHub

Updated September 2019 to the AdColony 4.1 SDK

Thank you

If you have saved some time using my work,
do consider donating me something :-)

Donations through PayPal gratefully acceptedpaypal.me

About

Demo Cordova App integrated with AdColony for iOS and Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published