@capgo/capacitor-file-sharer 8.1.9 → 8.1.11

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.
Files changed (2) hide show
  1. package/README.md +18 -4
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -1,13 +1,27 @@
1
1
  # @capgo/capacitor-file-sharer
2
2
 
3
- <a href="https://capgo.app/"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-file-sharer" alt="Capgo - Instant updates for Capacitor" /></a>
3
+ Share files through the native share sheet or save them to the device from your Capacitor app. 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
- <h2><a href="https://capgo.app/?ref=plugin_file_sharer">Get instant updates for your app with Capgo</a></h2>
7
- <h2><a href="https://capgo.app/consulting/?ref=plugin_file_sharer">Missing a feature? We will build the plugin for you</a></h2>
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
- Capacitor plugin for sharing and saving files on Android, iOS, and Web.
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**: `save()` stores a file locally, using MediaStore on Android.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-file-sharer",
3
- "version": "8.1.9",
3
+ "version": "8.1.11",
4
4
  "description": "Capacitor plugin for sharing and saving files on Android, iOS, and Web.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -48,6 +48,7 @@
48
48
  "watch": "tsc --watch",
49
49
  "prepublishOnly": "bun run build",
50
50
  "check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
51
+ "check:cap9-deprecated": "node scripts/check-cap9-deprecated.mjs",
51
52
  "example:install": "cd example-app && bun install --frozen-lockfile",
52
53
  "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
53
54
  "changelog:ai": "node scripts/generate-ai-changelog.mjs"