| Minimum supported iOS 10.0 or higher Use Xcode 12 or higher |
Open your project's Podfile and add this line to your app's target build configuration:
pod 'TappxSDK'
pod 'TappxSDK/TappxAppLovinAdapter'
In a terminal, run:
pod install --repo-updateIf you're new to CocoaPods, see their official documentation for info on how to create and use Podfiles.
Download the latest version of the SDK:
Download Applovin Mediation ClassDrag the "TappxFramework.framework" and "OMSDK_Tappx.xcframework" files inside the Xcode Project Frameworks folder.
Once it’s done, in the options screen check the options as in the below screenshot and click finish:
Go to “Frameworks, Libraries, and Embedded Content” and make sure that the “embed” value for each added Tappx framework library is set to Embed & Sign.
Go to Build Settings in your project and add the -ObjC linker flag to “Other Linker Flags”
Once you finished all the steps in add folder called “MediationClass” inside your project, as displayed below:
In order to prevent your application being affected by the new measures implemented by Apple, add the following lines to your “Info.plist” file:
If you want to learn more about this aspect, see App Transport Security (ATS).
In the application of the COPPA regulations, to indicate that the content of your app is intended for children under 13 years of age, you must use the following code:
[TappxFramework setCoppaCompliance:YES];
TappxFramework.setCoppaCompliance(coppa: true)
TappxFramework.setCoppaCompliance(coppa: true)
The value declared (true or false) in the argument of the setCoppaCompliance function will determine whether advertising restrictions will be activated or not.