@capacitor/filesystem 6.0.0-dev-2076-20240410T175150.0 → 6.0.0-dev-2079-20240412T200544.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
@@ -9,46 +9,9 @@ npm install @capacitor/filesystem
9
9
  npx cap sync
10
10
  ```
11
11
 
12
- ## Apple Privacy Manifest Requirements
13
-
14
- Apple mandates that app developers now specify approved reasons for API usage to enhance user privacy. By May 1st, 2024, it's required to include these reasons when submitting apps to the App Store Connect.
15
-
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
-
18
- ### Manual Steps
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).
23
-
24
- ### Example PrivacyInfo.xcprivacy
25
-
26
- ```xml
27
- <?xml version="1.0" encoding="UTF-8"?>
28
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
29
- <plist version="1.0">
30
- <dict>
31
- <key>NSPrivacyTracking</key>
32
- <false/>
33
- <key>NSPrivacyAccessedAPITypes</key>
34
- <array>
35
- <!-- Add this dict entry to the array if the PrivacyInfo file already exists -->
36
- <dict>
37
- <key>NSPrivacyAccessedAPIType</key>
38
- <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
39
- <key>NSPrivacyAccessedAPITypeReasons</key>
40
- <array>
41
- <string>C617.1</string> <!-- Replace with the appropriate reason code -->
42
- </array>
43
- </dict>
44
- </array>
45
- </dict>
46
- </plist>
47
- ```
48
-
49
12
  ## iOS
50
13
 
51
- To have files appear in the Files app, you must also set the following keys to `YES` in `Info.plist`:
14
+ To have files appear in the Files app, you must set the following keys to `YES` in `Info.plist`:
52
15
 
53
16
  - `UIFileSharingEnabled` (`Application supports iTunes file sharing`)
54
17
  - `LSSupportsOpeningDocumentsInPlace` (`Supports opening documents in place`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/filesystem",
3
- "version": "6.0.0-dev-2076-20240410T175150.0",
3
+ "version": "6.0.0-dev-2079-20240412T200544.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",