Page tree
Skip to end of metadata
Go to start of metadata

First, follow the instructions for configuring AdColony on the hyprMediate dashboard here

Adapter Integration

With your waterfall configured, all you need to do now is add the AdColony adapter and SDK.

Drag the HyprMediate-AdColony directory from the AdColony SDK download into your project. Select "copy items if needed" and "create groups" when prompted.

 

Verify Target Membership

  1. Select AdColony.framework in the Project Navigation tab.
  2. Select AdColony_HyprAdapter.m in the Project Navigation tab.

 

 

3. From the File inspector tab, ensure that it has been added to your Main Application's build target in the "Target Membership" pane. 

 


Visit your project's Build Phases and open Link Binary with Libraries. 

Click the + button to add to this list, and select:

  • libz.1.2.5.tbd

Confirm that your Build Phases tab shows the added files:

Apple has extended the scope of its privacy controls in iOS by requiring advertisers to declare the potential use of a user’s camera, calendar, photo library, etc. in the plist. Add the following entries to your app's Info.plist (if not already present) to ensure the best possible user experience when the AdColony SDK uses these features.

	<key>NSCameraUsageDescription</key>
	<string>Taking Pictures</string>
	<key>NSMotionUsageDescription</key>
	<string>Interactive ad controls</string>

Your Info.plist will look like this after adding these entries:


In iOS 9 and above, AdColony also requires these permissions to enable deep linking:

	<key>LSApplicationQueriesSchemes</key>
   	<array>
       	<string>fb</string>
        <string>instagram</string>
   	    <string>tumblr</string>
       	<string>twitter</string>
    </array>

Your Info.plist will look like this after adding these entries:


AdColony requires your app to support all orientations globally to allow ads to be shown in any orientation. This doesn't require your app's interface to support all orientations, however it does require you to override the global settings in the UIViewController from which ads are played to support all device orientations.

Your Info.plist will look like this:


It is recommended that you don't use AdColony's pre and post V4VC popups to display the reward amount because your reward information is now configured in the HyprMediate dashboard.

That’s it! AdColony has now been integrated.

  • No labels