Getting started
This guide shows how to include the Instal publisher SDK into your iOS application.
Using CocoaPods
Our sdk is distribuited with CocoaPods
pod 'InstalPublisherSDK', :git => 'https://bitbucket.org/tbdsrl/instal-publisher-sdk-ios-distr.git'
Manual integration
- Download latest SDK
- Drag downloaded folder in your project
- Include following frameworks in your poject:
- CoreGraphics.framework
- EventKit.framework
- EventKitUI.framework
- QuartzCore.framework
- StoreKit.framework
- MediaPlayer.framework
- AdSupport.framework
- In your target build settings in Other Linker Flags add "-ObjC"
iOS 9 HTTPS migration
Since iOS 9 Apple enforces HTTPS connections for networking (App Transport Security). We are currently moving all our server to support HTTPS, meanwhile please add following domains to the exception list:
- instal.com
- freapp.com
- rackdn.com
- trk-optimize.com
You can do so by adding this keys in you Info.plist
file:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>instal.com</key>
<dict>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSTemporaryExceptionMinimumTLSVersion</key>
<string>TLSv1.1</string>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
<key>rackcdn.com</key>
<dict>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSTemporaryExceptionMinimumTLSVersion</key>
<string>TLSv1.1</string>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
<key>trk-optimize.com</key>
<dict>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSTemporaryExceptionMinimumTLSVersion</key>
<string>TLSv1.1</string>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
<key>freapp.com</key>
<dict>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSTemporaryExceptionMinimumTLSVersion</key>
<string>TLSv1.1</string>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
</dict>
Displaying Ads
Once you've completed the above steps, you can start displaying ads in your application by following the instructions on the: