Showing
4 changed files
with
16 additions
and
2 deletions
| @@ -2,6 +2,7 @@ | @@ -2,6 +2,7 @@ | ||
| 2 | 2 | ||
| 3 | * [MacOS] Added the corners and size information to barcode results. | 3 | * [MacOS] Added the corners and size information to barcode results. |
| 4 | * [MacOS] Added support for `analyzeImage`. | 4 | * [MacOS] Added support for `analyzeImage`. |
| 5 | +* [MacOS] Added a Privacy Manifest. | ||
| 5 | * [web] Added the size information to barcode results. | 6 | * [web] Added the size information to barcode results. |
| 6 | * Added support for barcode formats to image analysis. | 7 | * Added support for barcode formats to image analysis. |
| 7 | 8 |
| @@ -18,4 +18,5 @@ An universal scanner for Flutter based on MLKit. | @@ -18,4 +18,5 @@ An universal scanner for Flutter based on MLKit. | ||
| 18 | s.platform = :osx, '10.14' | 18 | s.platform = :osx, '10.14' |
| 19 | s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } | 19 | s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } |
| 20 | s.swift_version = '5.0' | 20 | s.swift_version = '5.0' |
| 21 | + s.resource_bundles = {'mobile_scanner_macos_privacy' => ['mobile_scanner/Sources/mobile_scanner/Resources/PrivacyInfo.xcprivacy']} | ||
| 21 | end | 22 | end |
| @@ -17,8 +17,7 @@ let package = Package( | @@ -17,8 +17,7 @@ let package = Package( | ||
| 17 | name: "mobile_scanner", | 17 | name: "mobile_scanner", |
| 18 | dependencies: [], | 18 | dependencies: [], |
| 19 | resources: [ | 19 | resources: [ |
| 20 | - // To add other resources, see the instructions at | ||
| 21 | - // https://developer.apple.com/documentation/xcode/bundling-resources-with-a-swift-package | 20 | + .process("Resources"), |
| 22 | ] | 21 | ] |
| 23 | ) | 22 | ) |
| 24 | ] | 23 | ] |
| 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 | + <!-- The key NSPrivacyAccessedAPITypes is not required for MacOS --> | ||
| 6 | + <key>NSPrivacyTrackingDomains</key> | ||
| 7 | + <array/> | ||
| 8 | + <key>NSPrivacyCollectedDataTypes</key> | ||
| 9 | + <array/> | ||
| 10 | + <key>NSPrivacyTracking</key> | ||
| 11 | + <false/> | ||
| 12 | +</dict> | ||
| 13 | +</plist> |
-
Please register or login to post a comment