Skip to content

AdService module

  • CocoaPods subspec: pod 'AffiseModule/AdService', '1.7.8'AffiseModule.podspec:28-31.
  • SwiftPM product: AffiseModuleAdServicePackage.swift:13.
  • Framework: AdServices.framework (linked automatically; AffiseModule.podspec:30).

From the README:

Sends attributionToken from AdServices framework AAAttribution.attributionToken() to Affise server.

@objc(AffiseAdServiceModule)
public final class AdServiceModule: AffiseModule

AffiseModule/AdService/Classes/AdServiceModule.swift:4-5.

Overrides the base AffiseModule surface:

  • start()AdServiceModule.swift:15
  • providers()AdServiceModule.swift:23

The module is automatically started by the SDK core when linked; no manual start is required.

AD_SERVICE_ATTRIBUTION. See Device info for the full provider map.