Skip to content

Commit

Permalink
add PrivacyInfo (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto authored Mar 27, 2024
1 parent 3750a51 commit c8d2ba6
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Next

- add PrivacyInfo ([#94](https://github.com/PostHog/posthog-flutter/pull/94))

## 4.2.0

- add flush method ([#92](https://github.com/PostHog/posthog-flutter/pull/92))
Expand Down
44 changes: 44 additions & 0 deletions ios/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?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>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeProductInteraction</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeOtherUsageData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</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>
1 change: 1 addition & 0 deletions ios/posthog_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Postog flutter plugin
s.social_media_url = 'https://twitter.com/PostHog'

s.source_files = 'Classes/**/*'
s.resource_bundles = { "PostHogFlutter" => "Resources/PrivacyInfo.xcprivacy" }

s.ios.dependency 'Flutter'
s.osx.dependency 'FlutterMacOS'
Expand Down

0 comments on commit c8d2ba6

Please sign in to comment.