dagronf / QRCode

A quick and beautiful macOS/iOS/tvOS/watchOS QR Code generator/detector library for SwiftUI, Swift and Objective-C.
MIT License
438 stars 57 forks source link

Upload Privacy Manifest #40

Closed harshil-vyas08 closed 6 months ago

harshil-vyas08 commented 7 months ago

Hello,

At WWDC23 Apple announced that apps and SDKs that make use of certain "required reason" APIs etc will need to provide a privacy manifest. Does QRCode need to include this manifest? Is this update on the roadmap for the team? I appreciate that enforcement won't happen until Spring 2024 but I wanted to make contact so that we can plan our app releases to take this into account.

Here are some useful references:

https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests

https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api

https://developer.apple.com/videos/play/wwdc2023/10060/

Thanks

dagronf commented 7 months ago

Hey @harshil-vyas08,

Privacy manifests were added back in 18.2.0. You can find them in the Sources/ subfolders (one for each target)

See: • https://github.com/dagronf/QRCode/blob/main/Sources/QRCode/PrivacyInfo.xcprivacyhttps://github.com/dagronf/QRCode/blob/main/Sources/qrcodegen/PrivacyInfo.xcprivacyhttps://github.com/dagronf/QRCode/blob/main/Sources/QRCodeDetector/PrivacyInfo.xcprivacy

You can also see them being added as resources to the targets in Package.swift

The privacy manifests themselves are pretty basic - none of the targets do any tracking or privacy.

Please let me know if these are inadequate.

dagronf commented 7 months ago

@harshil-vyas08 did that answer your question?

dagronf commented 6 months ago

Closing due to lack of feedback