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

Updating to HyprMediate 2.2

Remove the HyprMediate.framework and any ad providers and their HyprAdapter files. Click 'Move to Trash' when removing.

Drag and drop the new 2.2 version of the HyprMediate.framework (available in the SDK disk image) file into your Xcode project. Select "copy items if needed" and "create groups" when prompted.

Make sure HyprMediate.framework and libxml2.tbd are both listed in linked frameworks for your target.

Replace each ad provider you removed with the latest version from our downloads page.

As of March 2017, AdColony no longer recommends adding the NSAllowsLocalNetworking ATS key. If applicable, we recommend removing it from your Info.plist.

App Transport Security

Apple has put on hold their efforts to enforce ATS (App Transport Security) settings, so many developers are simply turning it off. In order to do so, add the App Transport Security dictionary key below to your Info.plist (if not already present).

	<key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
	</dict>

Your Info.plist would look like this after adding these lines: 

If you prefer to enable ATS, you must add the three App Transport Security dictionary keys below to your Info.plist to ensure HyprMediate operates properly.

	<key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
	    <key>NSAllowsArbitraryLoadsInWebContent</key>
	    <true/>       
	    <key>NSAllowsArbitraryLoadsForMedia</key>
	    <true/>       
	</dict>

Your Info.plist would look like this after adding these lines:

Privacy Controls

iOS 10 requires that if advertisers want access to a user’s camera, calendar, photo library, etc, that they declare the following in the plist. In order to maximize fill rate, please add the following entries to your app's plist.

<key>NSCalendarsUsageDescription</key>
<string>${PRODUCT_NAME} requests access to the Calendar</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>${PRODUCT_NAME} requests access to the Photo Library</string>

That's it! You're up and running with HyprMediate. To add more ad providers, click here.

  • No labels