klaviyo / klaviyo-swift-sdk

SDK that allows users to incorporate Klaviyo's event and person tracking functionality within iOS applications. Written in Swift.
MIT License
10 stars 10 forks source link

Adding privacy manifest to KlaviyoSwift and KlaviyoSwiftExtension #174

Closed ajaysubra closed 2 months ago

ajaysubra commented 2 months ago

Description

Apple requires SDK to add a privacy manifest listing,

  1. If the SDK does tracking.
  2. If it does tracking, what domains does it use for that purpose
  3. What required reason APIs does the SDK use
  4. What data points does the SDK collect.

The privacy manifest we added here is a least common denominator of what the SDK does, if developers are doing anything in addition to this in their specific apps like gathering emails/phone numbers they need to listed in your applications privacy manifest.

Some material from Apple about this -

Privacy manifest files Describing data use in privacy manifests WWDC 23 session on this topic

Check List

Manual Test Plan

Tested this using our test app and this is how the report looks like -

image

Supporting Materials

Developers can do the same when releasing their apps using archive -

image