@capgo/capacitor-watch 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.
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Talk to a companion watch app from your Capacitor app: send messages, sync state
|
|
|
5
5
|
<a href="https://capgo.app/?ref=plugin_watch"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-watch" alt="Capgo - Instant updates for Capacitor" /></a>
|
|
6
6
|
|
|
7
7
|
<div align="center">
|
|
8
|
-
<p><b>Capgo</b>:
|
|
8
|
+
<p><b>Capgo</b>: push fixes to your Capacitor users in minutes, build signed iOS and Android apps without a Mac, and roll back in one click.</p>
|
|
9
9
|
<h2><a href="https://capgo.app/register/?ref=plugin_watch">➡️ Get started for free</a></h2>
|
|
10
10
|
<p>14-day unlimited free trial. No credit card required</p>
|
|
11
11
|
<p><a href="https://capgo.app/consulting/?ref=plugin_watch">Missing a feature? We'll build the plugin for you 💪</a></p>
|
|
@@ -20,7 +20,7 @@ Talk to a companion watch app from your Capacitor app: send messages, sync state
|
|
|
20
20
|
- **Messages**: `sendMessage()` for interactive messages and `replyToMessage()` to answer the watch.
|
|
21
21
|
- **Shared state**: `updateApplicationContext()` syncs the latest state to the watch.
|
|
22
22
|
- **Background transfer**: `transferUserInfo()` queues data for delivery.
|
|
23
|
-
- **Events**: message, application context
|
|
23
|
+
- **Events**: message, application context and user info listeners, plus reachability and activation listeners on iOS.
|
|
24
24
|
- **Status**: `getInfo()` reports pairing, reachability and support.
|
|
25
25
|
- **Platforms**: iOS and Android. iOS uses WatchConnectivity with the CapgoWatchSDK watch app. Android uses the Wear OS Data Layer. Not available on web.
|
|
26
26
|
|
package/android/build.gradle
CHANGED
|
@@ -52,7 +52,7 @@ dependencies {
|
|
|
52
52
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
53
53
|
implementation project(':capacitor-android')
|
|
54
54
|
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
55
|
-
implementation "com.google.android.gms:play-services-wearable:
|
|
55
|
+
implementation "com.google.android.gms:play-services-wearable:20.0.1"
|
|
56
56
|
testImplementation "junit:junit:$junitVersion"
|
|
57
57
|
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
|
58
58
|
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
|
|
@@ -6,7 +6,7 @@ import WatchConnectivity
|
|
|
6
6
|
/// here: https://capacitorjs.com/docs/plugins/ios
|
|
7
7
|
@objc(CapgoWatchPlugin)
|
|
8
8
|
public class CapgoWatchPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
9
|
-
private let pluginVersion: String = "8.1.
|
|
9
|
+
private let pluginVersion: String = "8.1.11"
|
|
10
10
|
public let identifier = "CapgoWatchPlugin"
|
|
11
11
|
public let jsName = "CapgoWatch"
|
|
12
12
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/capacitor-watch",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.11",
|
|
4
4
|
"description": "Capacitor plugin for Apple Watch communication with bidirectional messaging support",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@ionic/eslint-config": "^0.5.0",
|
|
65
65
|
"@ionic/prettier-config": "^4.0.0",
|
|
66
66
|
"@ionic/swiftlint-config": "^2.0.0",
|
|
67
|
-
"@types/node": "^
|
|
67
|
+
"@types/node": "^26.0.0",
|
|
68
68
|
"@typescript-eslint/eslint-plugin": "^8.70.0",
|
|
69
69
|
"@typescript-eslint/parser": "^8.70.0",
|
|
70
70
|
"eslint": "^10.0.0",
|