File tree Expand file tree Collapse file tree 5 files changed +69
-4
lines changed Expand file tree Collapse file tree 5 files changed +69
-4
lines changed Original file line number Diff line number Diff line change 2020 }) { ... }
2121 ```
2222 (Issue [ #292 ] ( https://github.com/realm/realm-dart/issues/292 ) )
23+ * Add privacy manifest to apple binaries. (Issue [ #1551 ] ( https://github.com/realm/realm-dart/issues/1551 ) )
2324
2425### Fixed
2526* Avoid: Attempt to execute code removed by Dart AOT compiler (TFA). (Issue [ #1647 ] ( https://github.com/realm/realm-dart/issues/1647 ) )
Original file line number Diff line number Diff line change 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 >NSPrivacyTrackingDomains</key >
6+ <array />
7+ <key >NSPrivacyCollectedDataTypes</key >
8+ <array />
9+ <key >NSPrivacyAccessedAPITypes</key >
10+ <array >
11+ <dict >
12+ <key >NSPrivacyAccessedAPITypeReasons</key >
13+ <array >
14+ <string >C617.1</string >
15+ </array >
16+ <key >NSPrivacyAccessedAPIType</key >
17+ <string >NSPrivacyAccessedAPICategoryFileTimestamp</string >
18+ </dict >
19+ <dict >
20+ <key >NSPrivacyAccessedAPITypeReasons</key >
21+ <array >
22+ <string >E174.1</string >
23+ </array >
24+ <key >NSPrivacyAccessedAPIType</key >
25+ <string >NSPrivacyAccessedAPICategoryDiskSpace</string >
26+ </dict >
27+ </array >
28+ <key >NSPrivacyTracking</key >
29+ <false />
30+ </dict >
31+ </plist >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ Pod::Spec.new do |s|
3333 s . vendored_frameworks = 'realm_dart.xcframework'
3434 s . dependency 'Flutter'
3535 s . platform = :ios , '8.0'
36- s . compiler_flags = "-DBUNDLE_ID='\" #{ bundleId } \" '"
36+ s . compiler_flags = "-DBUNDLE_ID='\" #{ bundleId } \" '"
3737 s . library = 'c++' , 'z' , 'compression'
3838
3939 s . swift_version = '5.0'
@@ -63,4 +63,5 @@ Pod::Spec.new do |s|
6363 :execution_position => :before_compile
6464 }
6565 ]
66+ s . resource_bundles = { 'realm_privacy' => [ 'Resources/PrivacyInfo.xcprivacy' ] }
6667end
Original file line number Diff line number Diff line change 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 >NSPrivacyTrackingDomains</key >
6+ <array />
7+ <key >NSPrivacyCollectedDataTypes</key >
8+ <array />
9+ <key >NSPrivacyAccessedAPITypes</key >
10+ <array >
11+ <dict >
12+ <key >NSPrivacyAccessedAPITypeReasons</key >
13+ <array >
14+ <string >C617.1</string >
15+ </array >
16+ <key >NSPrivacyAccessedAPIType</key >
17+ <string >NSPrivacyAccessedAPICategoryFileTimestamp</string >
18+ </dict >
19+ <dict >
20+ <key >NSPrivacyAccessedAPITypeReasons</key >
21+ <array >
22+ <string >E174.1</string >
23+ </array >
24+ <key >NSPrivacyAccessedAPIType</key >
25+ <string >NSPrivacyAccessedAPICategoryDiskSpace</string >
26+ </dict >
27+ </array >
28+ <key >NSPrivacyTracking</key >
29+ <false />
30+ </dict >
31+ </plist >
Original file line number Diff line number Diff line change @@ -45,12 +45,12 @@ Pod::Spec.new do |s|
4545 s . license = { :file => '../LICENSE' }
4646 s . author = { 'Realm' => '[email protected] ' } 4747 s . source = { :path => '.' }
48- s . source_files = 'Classes/**/*'
48+ s . source_files = 'Classes/**/*'
4949 s . dependency 'FlutterMacOS'
5050
5151 s . platform = :osx , '10.11'
52- s . compiler_flags = "-DBUNDLE_ID='\" #{ bundleId } \" '"
53- s . pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
52+ s . compiler_flags = "-DBUNDLE_ID='\" #{ bundleId } \" '"
53+ s . pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
5454 s . swift_version = '5.0'
5555 s . vendored_libraries = "#{ realmLibName } "
5656 s . prepare_command = "touch #{ realmPackageDir } /librealm_dart.dylib" #librealm_dart.dylib is needed before the build is started
@@ -65,4 +65,5 @@ Pod::Spec.new do |s|
6565 :execution_position => :before_compile
6666 }
6767 ]
68+ s . resource_bundles = { 'realm_privacy' => [ 'Resources/PrivacyInfo.xcprivacy' ] }
6869end
You can’t perform that action at this time.
0 commit comments