Wiki

Clone wiki

AATKit iOS / AATKit / Swift Package Manager

  1. Project Setup
  2. AATKit Initialisation
  3. Banner Integration
  4. Fullscreen Integration
  5. Rewarded Video
  6. APP Open Integration
  7. Native Ads Integration
  8. Native Ads Integration - special ad network characteristics
  9. Disable App Transport Security (ATS)
  10. Advanced Features
  11. Targeting
  12. Frequency Capping
  13. Important Remarks
  14. AATKit's Size within your app
  15. What is an AdSpace?
  16. Network-specific Information
  17. Listen to impression level information
  18. 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

  1. In your project, click on the Project and choose your project
  2. Go to Swift Packages tab
  3. Click on the plus icon
  4. Enter https://github.com/AddApptr/AATKitSPM in the url field
  5. Switch to exact version and enter the desired version
  6. Click on next and wait until fetching completed
  7. A new window appears with the available binaries, select AATKit-Core and click on "Add Package" button.
  8. 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 and AATKit-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