react-nativeprivacy-manifest

ITMS-91053: Missing API declaration - ReactNative


Although submission for TestFlight review was successful, you may want to correct the following issues in your next submission for TestFlight review. Once you've corrected the issues, upload a new binary to App Store Connect.

ITMS-91053: Missing API declaration - Your app’s code in the “My app” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryDiskSpace. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

ITMS-91053: Missing API declaration - Your app’s code in the “My app” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryFileTimestamp. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

Why is this warning appearing even though I haven't made any changes to the native code?"

Is it possible not to initialize PrivacyInfo.xcprivacy?


Solution

  • enter image description hereAdd privacy info file in the way described below

    enter image description here

    enter image description here

    select your added file

    enter image description here

    Add declarations in App Privacy file. You need to add only ones present in your email

    and you are done hope it helps someone.

    Those of you how are saying after file addition they are still getting warning from apple make sure your PrivacyInfo file is selected in target Membership other wise PrivacyInfo file won't be bundled in to your release and you will continue to receive warning from apple.

    enter image description here