Skip to content

Latest commit

 

History

History
75 lines (45 loc) · 1.77 KB

README.md

File metadata and controls

75 lines (45 loc) · 1.77 KB

ionic-watch-connectivity

Capacitor plugin for Ionic enabling seamless watch connectivity

Install

npm install ionic-watch-connectivity
npx cap sync

API

isWatchAvailable()

isWatchAvailable() => Promise<WatchAvailability>

Returns: Promise<WatchAvailability>


updateApplicationContext(...)

updateApplicationContext(data: ApplicationContextUpdateData) => Promise<WatchConnectivityOperationResult>
Param Type
data ApplicationContextUpdateData

Returns: Promise<WatchConnectivityOperationResult>


Interfaces

WatchAvailability

Prop Type
isAvailable boolean

WatchConnectivityOperationResult

Prop Type
success boolean
message string

ApplicationContextUpdateData

Prop Type
data object