SkeletonView icon indicating copy to clipboard operation
SkeletonView copied to clipboard

Apple's update to their API policy - Required Reason in Privacy manifest

Open kdvmgn opened this issue 2 years ago • 7 comments

Describe the feature or problem you’d like to solve

From Fall 2023 Apple starts rolling out new privacy requirements, The apps and third-party SDKs should contain a privacy manifest file when they access required reason API. SkeletonView SDK uses UserDefaults which is required description of use in PrivacyManifest. Otherwise, apps that don’t describe their use of required reason API in their privacy manifest file won’t be accepted by App Store Connect. Here is a link to the [Apple documentation].(https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api).

Proposed solution

Add a PrivacyInfo.xcprivacy file and the following information to the Privacy Accessed API Types section

  • Privacy Accessed API Type: User Defaults
  • Privacy Accessed API Reasons: CA92.1: Access info from same app, per documentation

Additional context

Apple documentation

kdvmgn avatar Nov 01 '23 19:11 kdvmgn

Even though I updated to 1.30.4, there is no privacyinfo file inside. What should I do?

mayios avatar Jan 16 '24 02:01 mayios

@Juanpe please add this configuration on .podspec file

s.ios.resource_bundles = {'SkeletonView' => ['SkeletonViewCore/Sources/Suporting Files/PrivacyInfo.xcprivacy']}

and make update for cocoapod

cendolinside123 avatar Jan 26 '24 07:01 cendolinside123

Apple announced that they'll start enforcing these new requirements on May 1. Would love to see a release with these changes soon to allow time to update, test, etc.

macdrevx avatar Mar 08 '24 21:03 macdrevx

Any updates?

ASWalnut avatar Mar 20 '24 03:03 ASWalnut

Hi, please create new release version with the latest changes and a Cocoapods release as well.

WGMB avatar Mar 22 '24 11:03 WGMB

The PrivacyInfo.xcprivacy file was not found in the pod update library.

caosuyang avatar Mar 26 '24 08:03 caosuyang

  1. I found that the PrivacyInfo.xcprivacy file was only found in the main branch. I hope it can be updated to the tag branch in time later.
  2. s.source_files = "SkeletonViewCore/Sources/**/*.{swift,h}" in the SkeletonView.podspec file, resulting in the pod install library not containing the PrivacyInfo.xcprivacy file. I think this is an issue

caosuyang avatar Mar 26 '24 09:03 caosuyang