An open API service indexing awesome lists of open source software.

https://github.com/aeharding/capacitor-application-context


https://github.com/aeharding/capacitor-application-context

Last synced: 4 months ago
JSON representation

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;
}