Skip to content

Commit

Permalink
Merge pull request #186 from droibit/feature/privacy_manifest
Browse files Browse the repository at this point in the history
Update `flutter_custom_tabs_ios` for privacy transparency
  • Loading branch information
droibit authored Feb 11, 2024
2 parents ca134c0 + 2a82ada commit b6bdefd
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion flutter_custom_tabs/example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 7368163408c647b7eb699d0d788ba6718e18fb8d

COCOAPODS: 1.14.3
COCOAPODS: 1.15.2
4 changes: 2 additions & 2 deletions flutter_custom_tabs_ios/example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
flutter_custom_tabs_ios: 62439c843b2691aae516fd50119a01eb9755fff7
flutter_custom_tabs_ios: a651b18786388923b62de8c0537607de87c2eccf
integration_test: 13825b8a9334a850581300559b8839134b124670

PODFILE CHECKSUM: a1ecc920bdd4a2a706a17f3bc3db5d6a10f3cd6e

COCOAPODS: 1.14.3
COCOAPODS: 1.15.2
14 changes: 14 additions & 0 deletions flutter_custom_tabs_ios/ios/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?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>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
</dict>
</plist>
4 changes: 2 additions & 2 deletions flutter_custom_tabs_ios/ios/flutter_custom_tabs_ios.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ iOS platform implementation of flutter_custom_tabs.
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.platform = :ios, '11.0'

s.swift_version = '5.0'
s.resource_bundles = {'flutter_custom_tabs_ios_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
s.swift_version = '5.0'
end

0 comments on commit b6bdefd

Please sign in to comment.