@capgo/capacitor-share-target 8.0.55 → 8.0.57
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
|
@@ -1,8 +1,27 @@
|
|
|
1
1
|
# @capgo/capacitor-share-target
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Let users share text, links, images and files from other apps straight into your Capacitor app, through the system share sheet on iOS and Android.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<a href="https://capgo.app/?ref=plugin_share_target"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-share-target" alt="Capgo - Instant updates for Capacitor" /></a>
|
|
6
|
+
|
|
7
|
+
<div align="center">
|
|
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_share_target">➡️ 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_share_target">Missing a feature? We'll build the plugin for you 💪</a></p>
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
<p align="center">
|
|
15
|
+
<img src="https://raw.githubusercontent.com/Cap-go/capacitor-share-target/main/assets/github-social-preview.png" alt="@capgo/capacitor-share-target for Capacitor apps" width="300" />
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
## Key features
|
|
19
|
+
|
|
20
|
+
- **Share event**: the `shareReceived` listener delivers the title, texts and files.
|
|
21
|
+
- **Files**: each shared file comes with its URI, name and MIME type. On iOS, your Share Extension must save these attachment details to the App Group.
|
|
22
|
+
- **Android**: receives content through intent filters you set for the MIME types you want.
|
|
23
|
+
- **iOS**: reads content saved by your Share Extension through an App Group set as `appGroupId`.
|
|
24
|
+
- **Platforms**: iOS and Android. iOS needs a Share Extension target. Not available on web.
|
|
6
25
|
|
|
7
26
|
## Compatibility
|
|
8
27
|
|
|
@@ -8,7 +8,7 @@ import UIKit
|
|
|
8
8
|
*/
|
|
9
9
|
@objc(CapacitorShareTargetPlugin)
|
|
10
10
|
public class CapacitorShareTargetPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
11
|
-
private let pluginVersion: String = "8.0.
|
|
11
|
+
private let pluginVersion: String = "8.0.57"
|
|
12
12
|
public let identifier = "CapacitorShareTargetPlugin"
|
|
13
13
|
public let jsName = "CapacitorShareTarget"
|
|
14
14
|
public let pluginMethods: [CAPPluginMethod] = [
|