@capgo/capacitor-downloader 0.0.2 → 0.0.8

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,16 +10,14 @@ let package = Package(
10
10
  targets: ["CapacitorDownloaderPlugin"])
11
11
  ],
12
12
  dependencies: [
13
- .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main"),
14
- .package(url: "https://github.com/mzeeshanid/MZDownloadManager.git", from: "3.3.0")
13
+ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
15
14
  ],
16
15
  targets: [
17
16
  .target(
18
17
  name: "CapacitorDownloaderPlugin",
19
18
  dependencies: [
20
19
  .product(name: "Capacitor", package: "capacitor-swift-pm"),
21
- .product(name: "Cordova", package: "capacitor-swift-pm"),
22
- "MZDownloadManager"
20
+ .product(name: "Cordova", package: "capacitor-swift-pm")
23
21
  ],
24
22
  path: "ios/Sources/CapacitorDownloaderPlugin"),
25
23
  .testTarget(
package/README.md CHANGED
@@ -1,4 +1,11 @@
1
1
  # @capgo/capacitor-downloader
2
+ <a href="https://capgo.app/"><img src='https://raw.githubusercontent.com/Cap-go/capgo/main/assets/capgo_banner.png' alt='Capgo - Instant updates for capacitor'/></a>
3
+
4
+ <div align="center">
5
+ <h2><a href="https://capgo.app/?ref=plugin"> ➡️ Get Instant updates for your App with Capgo 🚀</a></h2>
6
+ <h2><a href="https://capgo.app/consulting/?ref=plugin"> Fix your annoying bug now, Hire a Capacitor expert 💪</a></h2>
7
+ </div>
8
+
2
9
 
3
10
  Download file in background or foreground
4
11
 
@@ -204,3 +211,7 @@ removeAllListeners() => Promise<void>
204
211
  | **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |
205
212
 
206
213
  </docgen-api>
214
+
215
+ ### Credit
216
+
217
+ This plugin was inspired from: https://github.com/kesha-antonov/react-native-background-downloader
@@ -1,4 +1,2 @@
1
1
  <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
- <uses-permission android:name="android.permission.INTERNET" />
3
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
4
2
  </manifest>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-downloader",
3
- "version": "0.0.2",
3
+ "version": "0.0.8",
4
4
  "description": "Download file in background or foreground",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -48,14 +48,14 @@
48
48
  "devDependencies": {
49
49
  "@capacitor/android": "^6.0.0",
50
50
  "@capacitor/core": "^6.0.0",
51
- "@capacitor/docgen": "^0.2.2",
51
+ "@capacitor/docgen": "^0.3.0",
52
52
  "@capacitor/ios": "^6.0.0",
53
53
  "@ionic/eslint-config": "^0.4.0",
54
54
  "@ionic/prettier-config": "^4.0.0",
55
55
  "@ionic/swiftlint-config": "^2.0.0",
56
56
  "eslint": "^8.57.0",
57
57
  "prettier": "^3.3.3",
58
- "prettier-plugin-java": "^2.6.4",
58
+ "prettier-plugin-java": "^2.6.5",
59
59
  "rimraf": "^6.0.1",
60
60
  "rollup": "^4.24.0",
61
61
  "swiftlint": "^2.0.0",