diff --git a/platform/ios/BUILD.bazel b/platform/ios/BUILD.bazel index a91310310..7edf7bc6f 100644 --- a/platform/ios/BUILD.bazel +++ b/platform/ios/BUILD.bazel @@ -124,7 +124,7 @@ apple_xcframework( "resources/*.lproj/**", "resources/*.xcassets/**", "resources/metal-cpp-ignores.txt", - ]), + ]) + ["PrivacyInfo.xcprivacy"], infoplists = ["info_plist"], ios = { "simulator": [ @@ -245,6 +245,7 @@ filegroup( srcs = [ "BAZEL.md", "MapLibre.podspec", + "PrivacyInfo.xcprivacy", "README.md", "RELEASE.md", "VERSION", diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md index 9dec6cf15..5786bd849 100644 --- a/platform/ios/CHANGELOG.md +++ b/platform/ios/CHANGELOG.md @@ -4,6 +4,8 @@ MapLibre welcomes participation and contributions from everyone. Please read [`C ## main +- Add [Privacy Manifest](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files). MapLibre Native iOS has no built-in tracking, but it does use some system APIs for functional purposes that are marked by Apple as privacy sensitive. ([#1866](https://github.com/maplibre/maplibre-native/issues/1866)). + ## 6.5.0 - Allow uses to handle authorization for location services ([#2453](https://github.com/maplibre/maplibre-native/pull/2453)). See [`MLNMapview.shouldRequestAuthorizationToUseLocationServices`](https://maplibre.org/maplibre-native/ios/latest/documentation/maplibre/mlnmapview/shouldrequestauthorizationtouselocationservices). diff --git a/platform/ios/MapLibre.podspec b/platform/ios/MapLibre.podspec index bdb2cea5f..c60fc0942 100644 --- a/platform/ios/MapLibre.podspec +++ b/platform/ios/MapLibre.podspec @@ -15,5 +15,7 @@ Pod::Spec.new do |s| s.social_media_url = 'https://mastodon.social/@maplibre' s.ios.deployment_target = '12.0' s.ios.vendored_frameworks = "MapLibre.xcframework" + s.resource_bundle = { + "MapLibre_Privacy" => "PrivacyInfo.xcprivacy" + } end - diff --git a/platform/ios/PrivacyInfo.xcprivacy b/platform/ios/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..5e1dde1e7 --- /dev/null +++ b/platform/ios/PrivacyInfo.xcprivacy @@ -0,0 +1,39 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + +