Add privacy manifest iOS (#2480)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
39
platform/ios/PrivacyInfo.xcprivacy
Normal file
39
platform/ios/PrivacyInfo.xcprivacy
Normal file
@@ -0,0 +1,39 @@
|
||||
<?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>NSPrivacyTracking</key>
|
||||
<false/>
|
||||
<key>NSPrivacyTrackingDomains</key>
|
||||
<array/>
|
||||
<key>NSPrivacyCollectedDataTypes</key>
|
||||
<array/>
|
||||
<key>NSPrivacyAccessedAPITypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>NSPrivacyAccessedAPIType</key>
|
||||
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
|
||||
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||
<array>
|
||||
<string>C617.1</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>NSPrivacyAccessedAPIType</key>
|
||||
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
|
||||
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||
<array>
|
||||
<string>35F9.1</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>NSPrivacyAccessedAPIType</key>
|
||||
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
|
||||
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||
<array>
|
||||
<string>CA92.1</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user