From 86c8e3b656d48246a04110ce9f3daaf6d5529bc1 Mon Sep 17 00:00:00 2001 From: Umair Date: Tue, 16 Apr 2024 21:36:12 +0100 Subject: [PATCH] Adds privacy manifest for iOS plugin --- ios/Resources/PrivacyInfo.xcprivacy | 36 +++++++++++++++++++++++++++++ ios/ably_flutter.podspec | 3 ++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 ios/Resources/PrivacyInfo.xcprivacy diff --git a/ios/Resources/PrivacyInfo.xcprivacy b/ios/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..b0710f88d --- /dev/null +++ b/ios/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,36 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeDeviceID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + \ No newline at end of file diff --git a/ios/ably_flutter.podspec b/ios/ably_flutter.podspec index 924ad96fe..f81d71480 100644 --- a/ios/ably_flutter.podspec +++ b/ios/ably_flutter.podspec @@ -18,7 +18,7 @@ Pod::Spec.new do |s| s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' - s.dependency 'Ably', '1.2.29' + s.dependency 'Ably', '1.2.30' s.platform = :ios s.ios.deployment_target = '10.0' @@ -28,5 +28,6 @@ Pod::Spec.new do |s| 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64', 'GCC_PREPROCESSOR_DEFINITIONS' => "FLUTTER_PACKAGE_PLUGIN_VERSION=\\@\\\"#{flutter_package_plugin_version}\\\"" } + s.resource_bundles = {'ably_flutter' => ['Resources/PrivacyInfo.xcprivacy']} s.swift_version = '5.0' end