@capacitor/filesystem 6.0.0-dev-2076-20240410T175545.0 → 6.0.0-dev-2076-20240415T160458.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Package.swift CHANGED
@@ -10,14 +10,14 @@ let package = Package(
10
10
  targets: ["FilesystemPlugin"])
11
11
  ],
12
12
  dependencies: [
13
- .package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
13
+ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
14
14
  ],
15
15
  targets: [
16
16
  .target(
17
17
  name: "FilesystemPlugin",
18
18
  dependencies: [
19
- .product(name: "Capacitor", package: "capacitor-spm"),
20
- .product(name: "Cordova", package: "capacitor-spm")
19
+ .product(name: "Capacitor", package: "capacitor-swift-pm"),
20
+ .product(name: "Cordova", package: "capacitor-swift-pm")
21
21
  ],
22
22
  path: "ios/Sources/FilesystemPlugin"),
23
23
  .testTarget(
package/README.md CHANGED
@@ -15,11 +15,9 @@ Apple mandates that app developers now specify approved reasons for API usage to
15
15
 
16
16
  When using this specific plugin in your app, you must create a `PrivacyInfo.xcprivacy` file in `/ios/App` or use the VS Code Extension to generate it, specifying the usage reasons.
17
17
 
18
- ### Manual Steps
18
+ For detailed steps on how to do this, please see the [Capacitor Docs](https://capacitorjs.com/docs/ios/privacy-manifest).
19
19
 
20
- 1. In Xcode, select File > New File.
21
- 2. Choose App Privacy File type under the Resource section.
22
- 3. After creation, edit `PrivacyInfo.xcprivacy` to add the necessary keys and reasons, as detailed in [Apple's documentation](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api).
20
+ **For this plugin, the required dictionary key is [NSPrivacyAccessedAPICategoryFileTimestamp](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api#4278393) and the recommended reason is [CA617.1](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api#4278393).**
23
21
 
24
22
  ### Example PrivacyInfo.xcprivacy
25
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/filesystem",
3
- "version": "6.0.0-dev-2076-20240410T175545.0",
3
+ "version": "6.0.0-dev-2076-20240415T160458.0",
4
4
  "description": "The Filesystem API provides a NodeJS-like API for working with files on the device.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",