@capgo/capacitor-downloader 8.1.25 → 8.1.27
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
|
package/android/src/main/java/ee/forgr/capacitor/plugin/downloader/CapacitorDownloaderPlugin.java
CHANGED
|
@@ -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.
|
|
26
|
+
private final String pluginVersion = "8.1.27";
|
|
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.
|
|
11
|
+
private let pluginVersion: String = "8.1.27"
|
|
12
12
|
public let identifier = "CapacitorDownloaderPlugin"
|
|
13
13
|
public let jsName = "CapacitorDownloader"
|
|
14
14
|
public let pluginMethods: [CAPPluginMethod] = [
|