Snapchat / app-ads-kit-ios

Snap App Ads Kit SDK for iOS
https://kit.snapchat.com/ad-kit
Other
5 stars 1 forks source link

Confusion when initializing in iOS #2

Open jacob-hutchings opened 2 years ago

jacob-hutchings commented 2 years ago

When initializing the app ads kit in iOS, you pass in a SAAKInitializationConfiguration object. This has an appId and a snapAppIds parameter:

SAAKAppAdsKit.shared().initialize(with: SAAKInitializationConfiguration(appId: appId, snapAppIds: [UUID(uuidString: appId)!], idfa: nil, manageSKAdNetwork: true))

Are we supposed to pass in the same thing into both those spots? If not, what do we pass in?

It looks like Android only takes in the list of appIds:

SAAKApplication.init(, <snapKitAppIds: List>)