@capgo/capacitor-textinteraction 8.0.2 → 8.0.4

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.
@@ -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.2";
12
+ private final String pluginVersion = "8.0.4";
13
13
 
14
14
  private TextInteraction implementation = new TextInteraction();
15
15
 
@@ -3,10 +3,6 @@ import WebKit
3
3
 
4
4
  @objc public class TextInteraction: NSObject {
5
5
  @objc public func toggle(_ enabled: Bool, webView: WKWebView?) -> Bool {
6
- guard #available(iOS 14.5, *) else {
7
- return false
8
- }
9
-
10
6
  guard let webView else {
11
7
  return false
12
8
  }
@@ -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.2"
10
+ private let pluginVersion: String = "8.0.4"
11
11
  public let identifier = "TextInteractionPlugin"
12
12
  public let jsName = "TextInteraction"
13
13
  public let pluginMethods: [CAPPluginMethod] = [
@@ -4,10 +4,6 @@ import WebKit
4
4
 
5
5
  class TextInteractionTests: XCTestCase {
6
6
  func testToggleEnablesTextInteraction() {
7
- guard #available(iOS 14.5, *) else {
8
- return
9
- }
10
-
11
7
  let expectation = expectation(description: "Text interaction toggled")
12
8
 
13
9
  DispatchQueue.main.async {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-textinteraction",
3
- "version": "8.0.2",
3
+ "version": "8.0.4",
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",