Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.98 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.98 KB

AdMob ANE

A thin wrapper around the Unity Ads Android and iOS SDK for use on Heyzap's mediation.

The latest release can be found in Releases.

Pull requests and issues are welcome.

Unity Ads Versions

  • iOS: 1.4.5
  • Android: 1.45

Adding to your project

  • Add the UnityAds.ane to your Adobe Flex Builder or Adobe Flash project.

  • If not done automatically, add the follow extension context to your application descriptor:

     <extensions>
         <extensionID>com.heyzap.sdk.extensions.unityads</extensionID>
     </extensions>

Updating Unity Ads

For iOS:

  • Replace UnityAds.framework and UnityAds.bundle in ios/Vendor with a newer version.
  • Update ios/platform.xml with any new iOS frameworks that the newer version might be dependent on. Built-in iOS SDK frameworks can be added within the linkerOptions tag. Custom iOS frameworks can be added under the packagedDependencies tag and their respective .framework directories can be added to ios/Vendor. Drag and drop these .framework directories into the UnityAdsANE.xcodeproj project in XCode under the Vendor group.

For Android:

  • Replace unity-ads.jar in android/libs with a newer version.
  • Update android/platform.xml with any new android libraries that the newer version might be dependent on. Android libraries can be added under the packagedDependencies tag. The actual .jar files can be added to the andorid/libs directory.

After making the necessary modifications, build the new ANE by following the building instructions below.

Building

Requirements:
Building:
  • Add the path to your AIR SDK in build.config (under air.sdk)
  • From the root of the repository, run ant.

After build completes, the native extension will be in bin/UnityAds.ane.