@capgo/capacitor-textinteraction 8.0.41 → 8.0.43

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,11 +1,27 @@
1
1
  # @capgo/capacitor-textinteraction
2
- <a href="https://capgo.app/"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-textinteraction" alt="Capgo - Instant updates for Capacitor" /></a>
2
+
3
+ Turn text selection on or off in the WebView of your Capacitor iOS app, so it feels like a native app instead of a web page.
4
+
5
+ <a href="https://capgo.app/?ref=plugin_textinteraction"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-textinteraction" alt="Capgo - Instant updates for Capacitor" /></a>
3
6
 
4
7
  <div align="center">
5
- <h2><a href="https://capgo.app/?ref=plugin_textinteraction"> ➡️ Get Instant updates for your App with Capgo</a></h2>
6
- <h2><a href="https://capgo.app/consulting/?ref=plugin_textinteraction"> Missing a feature? We’ll 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_textinteraction">➡️ 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_textinteraction">Missing a feature? We'll build the plugin for you 💪</a></p>
7
12
  </div>
8
- Toggle text interaction in Capacitor based iOS apps.
13
+
14
+ <p align="center">
15
+ <img src="https://raw.githubusercontent.com/Cap-go/capacitor-textinteraction/main/assets/github-social-preview.png" alt="@capgo/capacitor-textinteraction for Capacitor apps" width="300" />
16
+ </p>
17
+
18
+ ## Key features
19
+
20
+ - **One call**: `toggle()` enables or disables text interaction.
21
+ - **Native feel**: stops long-press text selection when disabled. Text inputs stop working too, so turn it back on before text entry.
22
+ - **WebKit based**: uses the WKWebView text interaction setting on iOS.
23
+ - **Reversible**: turn it back on for screens with editable or copyable text.
24
+ - **Platforms**: iOS. iOS only. Android and web are not supported.
9
25
 
10
26
  ## Documentation
11
27
 
@@ -9,7 +9,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
9
9
  @CapacitorPlugin(name = "TextInteraction")
10
10
  public class TextInteractionPlugin extends Plugin {
11
11
 
12
- private final String pluginVersion = "8.0.41";
12
+ private final String pluginVersion = "8.0.43";
13
13
 
14
14
  private TextInteraction implementation = new TextInteraction();
15
15
 
@@ -7,7 +7,7 @@ import Capacitor
7
7
  */
8
8
  @objc(TextInteractionPlugin)
9
9
  public class TextInteractionPlugin: CAPPlugin, CAPBridgedPlugin {
10
- private let pluginVersion: String = "8.0.41"
10
+ private let pluginVersion: String = "8.0.43"
11
11
  public let identifier = "TextInteractionPlugin"
12
12
  public let jsName = "TextInteraction"
13
13
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-textinteraction",
3
- "version": "8.0.41",
3
+ "version": "8.0.43",
4
4
  "description": "Toggle text interaction in Capacitor based iOS apps.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",