Wiki
Clone wikiAATKit iOS / AATKit / Swift Package Manager
- Project Setup
- AATKit Initialisation
- Banner Integration
- Fullscreen Integration
- Rewarded Video
- APP Open Integration
- Native Ads Integration
- Native Ads Integration - special ad network characteristics
- Disable App Transport Security (ATS)
- Advanced Features
- Targeting
- Frequency Capping
- Important Remarks
- AATKit's Size within your app
- What is an AdSpace?
- Network-specific Information
- Listen to impression level information
- AATKit AdMob custom events adapter (>= 2.77.x)
AATKit using Swift Package Manager
A swift package manager that wraps AATKit and AdNetworks (Only AdNetworks with xcframework format are considered)
Integration Steps
- In your project, click on the Project and choose your project
- Go to Swift Packages tab
- Click on the plus icon
- Enter https://github.com/AddApptr/AATKitSPM in the url field
- Switch to exact version and enter the desired version
- Click on next and wait until fetching completed
- A new window appears with the available binaries, select AATKit-Core and click on "Add Package" button.
- We have two options to integrate AATKit and the Ad Networks:
Integrate AATKit with all Ad Networks
- Click on project and choose your target
- Click on general tap
- Under frameworks, libraries section and choose
AATKit-Default
andAATKit-Core
Integrate AATKit with specific Ad Networks
- Click on project and choose your target
- Click on general tap
- Under frameworks, libraries section, choose the ad networks you want by choosing
AATKit-ADNETWORK
(Replace <AD_NETWORK> with the desired Ad Network)
Important Note
You have to add -ObjC in your build settings (Other Linker Flags) by following these steps:
- Click on the project navigator
- Click on your target and build settings
- Search for "other linker flags"
- Add "-ObjC"
Updated