@capgo/capacitor-textinteraction 8.0.1 → 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.
- package/android/src/main/java/app/capgo/plugin/textinteraction/TextInteractionPlugin.java +1 -1
- package/ios/Sources/TextInteractionPlugin/TextInteraction.swift +0 -4
- package/ios/Sources/TextInteractionPlugin/TextInteractionPlugin.swift +1 -1
- package/ios/Tests/TextInteractionPluginTests/TextInteractionPluginTests.swift +0 -4
- package/package.json +5 -3
|
@@ -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.
|
|
12
|
+
private final String pluginVersion = "8.0.4";
|
|
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.
|
|
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.
|
|
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",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"bugs": {
|
|
25
25
|
"url": "https://github.com/Cap-go/capacitor-textinteraction/issues"
|
|
26
26
|
},
|
|
27
|
+
"homepage": "https://capgo.app/docs/plugins/textinteraction/",
|
|
27
28
|
"keywords": [
|
|
28
29
|
"capacitor",
|
|
29
30
|
"plugin",
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
|
42
43
|
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
|
|
43
44
|
"eslint": "eslint . --ext ts",
|
|
44
|
-
"prettier": "prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
|
|
45
|
+
"prettier": "prettier-pretty-check \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
|
|
45
46
|
"swiftlint": "node-swiftlint",
|
|
46
47
|
"docgen": "docgen --api TextInteractionPlugin --output-readme README.md --output-json dist/docs.json",
|
|
47
48
|
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
|
|
@@ -65,7 +66,8 @@
|
|
|
65
66
|
"rimraf": "^6.1.0",
|
|
66
67
|
"rollup": "^4.53.2",
|
|
67
68
|
"swiftlint": "^2.0.0",
|
|
68
|
-
"typescript": "^5.9.3"
|
|
69
|
+
"typescript": "^5.9.3",
|
|
70
|
+
"prettier-pretty-check": "^0.2.0"
|
|
69
71
|
},
|
|
70
72
|
"peerDependencies": {
|
|
71
73
|
"@capacitor/core": ">=8.0.0"
|