marmelroy / PhoneNumberKit

A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber.
MIT License
5.14k stars 818 forks source link

Add privacy manifest #745

Closed niji-mathieu-viel closed 8 months ago

niji-mathieu-viel commented 8 months ago

Third-party SDKs should include a privacy manifest by Spring according to Apple new requirements : https://developer.apple.com/support/third-party-SDK-requirements/ https://developer.apple.com/documentation/bundleresources/privacy_manifest_files?language=objc

Would it be possible to add it to PhoneNumberKit?

Thanks.

niji-mathieu-viel commented 8 months ago

From what I understand, as the framework is not collecting any personal data, an empty manifest + podspec / package.swift setup should do the trick (?)

@bguidolim any opinion on this? ;)

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>NSPrivacyTracking</key>
    <false/>
    <key>NSPrivacyTrackingDomains</key>
    <array/>
    <key>NSPrivacyCollectedDataTypes</key>
    <array/>
    <key>NSPrivacyAccessedAPITypes</key>
    <array/>
</dict>
</plist>
bguidolim commented 8 months ago

It seems that's the way to go.