BSImagePicker icon indicating copy to clipboard operation
BSImagePicker copied to clipboard

Describing use of required reason API

Open hsingh-texada opened this issue 1 year ago • 1 comments

Starting spring of 2024, Apple will be mandating the use of xcprivacy file to be included by all the libraries. The relevant Apple requirement/documentation is as follows: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api

Can you please provide timelines on when this would be resolved, as it will directly impact our AppStore submissions.

The API in question:

File timestamp APIs The following APIs for accessing file timestamps require reasons for use. Use the string NSPrivacyAccessedAPICategoryFileTimestamp as the value for the NSPrivacyAccessedAPIType key in your NSPrivacyAccessedAPITypes dictionary.

creationDate

The code snippet: https://github.com/mikaoj/BSImagePicker/blob/7afbaa1daf882b9f90e8e4a42f7b102f9d589245/Sources/Scene/Preview/PreviewTitleBuilder.swift#L37

hsingh-texada avatar Feb 22 '24 18:02 hsingh-texada

The code is right here, open a PR and I'll review it

mikaoj avatar Feb 22 '24 18:02 mikaoj

@mikaoj I created a PR to add the info. Would you be able to review and if all looks good, merged and tag it. Thanks.

hsingh-texada avatar Mar 07 '24 06:03 hsingh-texada

@mikaoj Would you be able to tag the change, so that SPM can pick it up.

hsingh-texada avatar Mar 11 '24 15:03 hsingh-texada

@mikaoj Following up on the tagging request.

hsingh-texada avatar Mar 14 '24 15:03 hsingh-texada

Yes I'll tag a new version. And update the cocoapod. In the meantime if it's urgent you can use a specific branch of even commit. You don't need a tag for SPM to pick it up.

mikaoj avatar Mar 14 '24 15:03 mikaoj

New version tagged. Thanks for contributing @hsingh-texada !

mikaoj avatar Mar 18 '24 11:03 mikaoj