@capgo/capacitor-file-sharer 8.1.10 → 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 +18 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,13 +1,27 @@
|
|
|
1
1
|
# @capgo/capacitor-file-sharer
|
|
2
2
|
|
|
3
|
-
|
|
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
|
+
|
|
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>
|
|
4
6
|
|
|
5
7
|
<div align="center">
|
|
6
|
-
<
|
|
7
|
-
<h2><a href="https://capgo.app/
|
|
8
|
+
<p><b>Capgo</b>: open-source live updates for Ionic and Capacitor apps. Ship OTA fixes and features instantly, without waiting for app store review.</p>
|
|
9
|
+
<h2><a href="https://capgo.app/register/?ref=plugin_file_sharer">➡️ Get started for free</a></h2>
|
|
10
|
+
<p>14-day unlimited free trial. No credit card required</p>
|
|
11
|
+
<p><a href="https://capgo.app/consulting/?ref=plugin_file_sharer">Missing a feature? We'll build the plugin for you 💪</a></p>
|
|
8
12
|
</div>
|
|
9
13
|
|
|
10
|
-
|
|
14
|
+
<p align="center">
|
|
15
|
+
<img src="https://raw.githubusercontent.com/Cap-go/capacitor-file-sharer/main/assets/github-social-preview.png" alt="@capgo/capacitor-file-sharer for Capacitor apps" width="300" />
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
## Key features
|
|
19
|
+
|
|
20
|
+
- **Share**: `share()` opens the native share sheet on iOS and Android.
|
|
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
|
+
- **Flexible input**: pass base64 data or a local file.
|
|
23
|
+
- **Web fallback**: both methods download the file in the browser.
|
|
24
|
+
- **Platforms**: iOS, Android and Web.
|
|
11
25
|
|
|
12
26
|
## Compatibility
|
|
13
27
|
|
package/package.json
CHANGED