@capgo/capacitor-downloader 8.1.24 → 8.1.26

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/README.md CHANGED
@@ -41,6 +41,20 @@ The most complete doc is available here: https://capgo.app/docs/plugins/download
41
41
 
42
42
  ## Install
43
43
 
44
+ You can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command:
45
+
46
+ ```bash
47
+ npx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins
48
+ ```
49
+
50
+ Then use the following prompt:
51
+
52
+ ```text
53
+ Use the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/capacitor-downloader` plugin in my project.
54
+ ```
55
+
56
+ If you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:
57
+
44
58
  ```bash
45
59
  npm install @capgo/capacitor-downloader
46
60
  npx cap sync
@@ -23,7 +23,7 @@ import java.util.Map;
23
23
  @CapacitorPlugin(name = "CapacitorDownloader")
24
24
  public class CapacitorDownloaderPlugin extends Plugin {
25
25
 
26
- private final String pluginVersion = "8.1.24";
26
+ private final String pluginVersion = "8.1.26";
27
27
 
28
28
  private DownloadManager downloadManager;
29
29
  private final Map<String, Long> downloads = new HashMap<>();
@@ -8,7 +8,7 @@ import Capacitor
8
8
 
9
9
  @objc(CapacitorDownloaderPlugin)
10
10
  public class CapacitorDownloaderPlugin: CAPPlugin, CAPBridgedPlugin {
11
- private let pluginVersion: String = "8.1.24"
11
+ private let pluginVersion: String = "8.1.26"
12
12
  public let identifier = "CapacitorDownloaderPlugin"
13
13
  public let jsName = "CapacitorDownloader"
14
14
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-downloader",
3
- "version": "8.1.24",
3
+ "version": "8.1.26",
4
4
  "description": "Download file in background or foreground",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -49,8 +49,11 @@
49
49
  "build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
50
50
  "clean": "rimraf ./dist",
51
51
  "watch": "tsc --watch",
52
- "prepublishOnly": "npm run build",
53
- "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs"
52
+ "prepublishOnly": "bun run build",
53
+ "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
54
+ "example:install": "cd example-app && bun install --frozen-lockfile",
55
+ "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
56
+ "example:capgo:deploy": "bun run example:build && bun scripts/deploy-example-capgo.mjs"
54
57
  },
55
58
  "devDependencies": {
56
59
  "@capacitor/android": "^8.0.0",