Skip to content

Commit

Permalink
Adds privacy manifest for iOS plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
umair-ably committed Apr 16, 2024
1 parent 6a1c447 commit 86c8e3b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
36 changes: 36 additions & 0 deletions ios/Resources/PrivacyInfo.xcprivacy
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false />
<key>NSPrivacyTrackingDomains</key>
<array />
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeDeviceID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true />
<key>NSPrivacyCollectedDataTypeTracking</key>
<true />
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>
3 changes: 2 additions & 1 deletion ios/ably_flutter.podspec
Expand Up @@ -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'

Expand All @@ -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

0 comments on commit 86c8e3b

Please sign in to comment.