diff --git a/ios/PrivacyInfo.xcprivacy b/ios/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..4ce9f2a --- /dev/null +++ b/ios/PrivacyInfo.xcprivacy @@ -0,0 +1,32 @@ + + + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDataTypes + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + diff --git a/ios/RNCookieManagerIOS.xcodeproj/project.pbxproj b/ios/RNCookieManagerIOS.xcodeproj/project.pbxproj index d93a306..3166322 100644 --- a/ios/RNCookieManagerIOS.xcodeproj/project.pbxproj +++ b/ios/RNCookieManagerIOS.xcodeproj/project.pbxproj @@ -30,6 +30,7 @@ 6CDA467A38779CEFE54AF652 /* Pods-RNCookieManagerIOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNCookieManagerIOS.debug.xcconfig"; path = "Target Support Files/Pods-RNCookieManagerIOS/Pods-RNCookieManagerIOS.debug.xcconfig"; sourceTree = ""; }; 7A3E91C9DB889DAEAB299FB5 /* Pods_RNCookieManagerIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RNCookieManagerIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; AC0CCEFD0D5DDBC08A3F9FDB /* Pods-RNCookieManagerIOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNCookieManagerIOS.release.xcconfig"; path = "Target Support Files/Pods-RNCookieManagerIOS/Pods-RNCookieManagerIOS.release.xcconfig"; sourceTree = ""; }; + F29511B12BBF92D200DF6087 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -55,6 +56,7 @@ 1BD725CD1CF7795C005DBD79 = { isa = PBXGroup; children = ( + F29511B12BBF92D200DF6087 /* PrivacyInfo.xcprivacy */, 1BD725FF1CF77DD1005DBD79 /* RNCookieManagerIOS */, 1BD725DB1CF77A8B005DBD79 /* Products */, 71405C5FF90D2ACAB4F0366B /* Pods */, diff --git a/react-native-cookies.podspec b/react-native-cookies.podspec index ec1b754..d8954f3 100644 --- a/react-native-cookies.podspec +++ b/react-native-cookies.podspec @@ -15,4 +15,7 @@ Pod::Spec.new do |s| s.preserve_paths = "*.framework" s.source_files = "ios/**/*.{h,m}" s.dependency "React-Core" + s.resource_bundles = { + 'RNCookiePrivacyInfo' => ['ios/PrivacyInfo.xcprivacy'], + } end