https://github.com/aeharding/capacitor-application-context
https://github.com/aeharding/capacitor-application-context
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aeharding/capacitor-application-context
- Owner: aeharding
- Created: 2023-08-03T01:16:51.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-26T01:45:38.000Z (over 1 year ago)
- Last Synced: 2026-03-02T01:21:38.964Z (5 months ago)
- Language: JavaScript
- Size: 317 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# capacitor-application-context
Provides interface to set application context for an iOS Watch
## Install
```bash
npm install capacitor-application-context
npx cap sync
```
## API
* [`updateApplicationContext(...)`](#updateapplicationcontext)
* [Type Aliases](#type-aliases)
### updateApplicationContext(...)
```typescript
updateApplicationContext(applicationContext: Record) => Promise
```
| Param | Type |
| ------------------------ | --------------------------------------------------------------- |
| **`applicationContext`** | Record<string, string> |
--------------------
### Type Aliases
#### Record
Construct a type with a set of properties K of type T
{
[P in K]: T;
}