Skip to content

An ANE containing the iOS AdMob framework. This ANE can be used for Heyzap Mediation

License

Notifications You must be signed in to change notification settings

furos/ios-admob-ane

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An ANE containing the iOS AdMob framework. This ANE can be used for Heyzap Mediation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 91.9%
  • Objective-C 7.3%
  • ActionScript 0.8%