Skip to content

Commit 6f581a5

Browse files
authored
Merge pull request #9 from konnic/add-ios-privacy-manifest
Add iOS privacy manifest
2 parents ba73019 + 8c979fc commit 6f581a5

6 files changed

Lines changed: 34 additions & 2 deletions

File tree

.fvmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"flutter": "2.10.0"
3+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ doc/api/
1515

1616
# mac
1717
.DS_Store
18+
19+
# FVM Version Cache
20+
.fvm/

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Demonstrates how to use the shared_preference_app_group plugin.
66
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
77

88
environment:
9-
sdk: ">=2.7.0 <3.0.0"
9+
sdk: ">=2.12.0 <3.0.0"
1010

1111
dependencies:
1212
flutter:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyAccessedAPITypes</key>
6+
<array>
7+
<dict>
8+
<key>NSPrivacyAccessedAPITypeReasons</key>
9+
<array>
10+
<string>1C8F.1</string>
11+
</array>
12+
<key>NSPrivacyAccessedAPIType</key>
13+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
14+
</dict>
15+
</array>
16+
<key>NSPrivacyCollectedDataTypes</key>
17+
<array>
18+
<dict/>
19+
</array>
20+
<key>NSPrivacyTrackingDomains</key>
21+
<array/>
22+
<key>NSPrivacyTracking</key>
23+
<false/>
24+
</dict>
25+
</plist>

ios/shared_preference_app_group.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Shared preference supporting iOS App Group capability
1717
s.public_header_files = 'Classes/**/*.h'
1818
s.dependency 'Flutter'
1919
s.platform = :ios, '9.0'
20+
s.resource_bundles = {'flutter_shared_preference_app_group' => ['Resources/PrivacyInfo.xcprivacy']}
2021

2122
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
2223
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: shared_preference_app_group
22
description: Shared preference supporting iOS App Group capability (using `-[NSUserDefaults initWithSuiteName:]`)
3-
version: 1.0.0+1
3+
version: 1.0.0+2
44
homepage: https://github.com/patrick-fu/flutter_shared_preference_app_group
55

66
environment:

0 commit comments

Comments
 (0)