@capgo/capacitor-uploader 7.3.2 → 7.3.4
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,7 +10,7 @@ let package = Package(
|
|
|
10
10
|
targets: ["UploaderPlugin"])
|
|
11
11
|
],
|
|
12
12
|
dependencies: [
|
|
13
|
-
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.
|
|
13
|
+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0")
|
|
14
14
|
],
|
|
15
15
|
targets: [
|
|
16
16
|
.target(
|
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ Add the following to your `AndroidManifest.xml` file:
|
|
|
33
33
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
##
|
|
36
|
+
## Example S3 upload:
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
## Example S3 upload:
|
|
@@ -71,7 +71,7 @@ async function uploadToS3(filePath: string, presignedUrl: string, fields: Record
|
|
|
71
71
|
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
###
|
|
74
|
+
### Example upload to a custom server:
|
|
75
75
|
|
|
76
76
|
```typescript
|
|
77
77
|
import { Uploader } from '@capgo/capacitor-uploader';
|
|
@@ -127,7 +127,7 @@ uploadToCustomServer(filePath, serverUrl);
|
|
|
127
127
|
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
###
|
|
130
|
+
### Example with Capacitor Camera preview:
|
|
131
131
|
|
|
132
132
|
Documentation for the [Capacitor Camera preview](https://github.com/Cap-go/camera-preview)
|
|
133
133
|
|
|
@@ -21,7 +21,7 @@ import net.gotev.uploadservice.observer.request.RequestObserverDelegate;
|
|
|
21
21
|
@CapacitorPlugin(name = "Uploader")
|
|
22
22
|
public class UploaderPlugin extends Plugin {
|
|
23
23
|
|
|
24
|
-
private final String pluginVersion = "7.3.
|
|
24
|
+
private final String pluginVersion = "7.3.4";
|
|
25
25
|
|
|
26
26
|
private Uploader implementation;
|
|
27
27
|
|
|
@@ -3,7 +3,7 @@ import Capacitor
|
|
|
3
3
|
|
|
4
4
|
@objc(UploaderPlugin)
|
|
5
5
|
public class UploaderPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
6
|
-
private let pluginVersion: String = "7.3.
|
|
6
|
+
private let pluginVersion: String = "7.3.4"
|
|
7
7
|
public let identifier = "UploaderPlugin"
|
|
8
8
|
public let jsName = "Uploader"
|
|
9
9
|
public let pluginMethods: [CAPPluginMethod] = [
|