exponea-ios-sdk generates incorrect NSPrivacyAccessedAPICategoryUserDefaults value “C617.1” in react-native projects
Description:
When using exponea-ios-sdk within a react-native project, the auto-generated PrivacyInfo.xcprivacy file contains incorrect value(“C617.1”) for the NSPrivacyAccessedAPICategoryUserDefaults category. This is due to erroneous values within the exponea-ios-sdk itself.
The specific files containing the incorrect values are:
_ITMS-91055: Invalid API reason declaration - The PrivacyInfo.xcprivacy for the “APP NAME” file contains “C617.1” as the value for a NSPrivacyAccessedAPITypeReasons key instead of a valid reason code for using an API in the NSPrivacyAccessedAPICategoryUserDefaults category. Values for NSPrivacyAccessedAPITypeReasons keys in any privacy manifest must be valid reason codes for the corresponding API category. 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._
Title:
exponea-ios-sdk generates incorrect NSPrivacyAccessedAPICategoryUserDefaults value
“C617.1”
in react-native projectsDescription:
When using exponea-ios-sdk within a react-native project, the auto-generated PrivacyInfo.xcprivacy file contains incorrect value(
“C617.1”
) for the NSPrivacyAccessedAPICategoryUserDefaults category. This is due to erroneous values within the exponea-ios-sdk itself.The specific files containing the incorrect values are:
This misreporting causes an "Invalid Binary" issue in App Store Connect, preventing successful submission.
Steps to Reproduce:
Expected Behavior:
The generated PrivacyInfo.xcprivacy should reflect accurate usage of NSUserDefaults as per Apple's guidelines: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.
Failure from app store connect
_ITMS-91055: Invalid API reason declaration - The PrivacyInfo.xcprivacy for the “APP NAME” file contains “C617.1” as the value for a NSPrivacyAccessedAPITypeReasons key instead of a valid reason code for using an API in the NSPrivacyAccessedAPICategoryUserDefaults category. Values for NSPrivacyAccessedAPITypeReasons keys in any privacy manifest must be valid reason codes for the corresponding API category. 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._