@capgo/capacitor-file-sharer 8.1.11 → 8.1.12
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @capgo/capacitor-file-sharer
|
|
2
2
|
|
|
3
|
-
Share files through the native share sheet or save them to the device
|
|
3
|
+
Share files through the native share sheet from your Capacitor app, or save them to the device on Android. On web, the same calls download the file.
|
|
4
4
|
|
|
5
5
|
<a href="https://capgo.app/?ref=plugin_file_sharer"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-file-sharer" alt="Capgo - Instant updates for Capacitor" /></a>
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@ Share files through the native share sheet or save them to the device from your
|
|
|
18
18
|
## Key features
|
|
19
19
|
|
|
20
20
|
- **Share**: `share()` opens the native share sheet on iOS and Android.
|
|
21
|
-
- **Save**: `save()` stores
|
|
21
|
+
- **Save**: on Android, `save()` stores the file with MediaStore where supported and a legacy path on older versions. On iOS it opens the share sheet so the user picks the destination.
|
|
22
22
|
- **Flexible input**: pass base64 data or a local file.
|
|
23
23
|
- **Web fallback**: both methods download the file in the browser.
|
|
24
24
|
- **Platforms**: iOS, Android and Web.
|
package/package.json
CHANGED