Capacitor Ably plugin
npm install capacitor-ablyCapacitor Ably plugin
``bash`
npm install capacitor-ably
npx cap sync
* registerDevice(...)
* registerChannel(...)
* Interfaces
`typescript`
registerDevice(options: AblyDeviceOptions) => Promise<{ value: string; }>
| Param | Type |
| ------------- | --------------------------------------------------------------- |
| options | AblyDeviceOptions |
Returns: Promise<{ value: string; }>
--------------------
`typescript`
registerChannel(options: AblyChannelOptions) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ----------------------------------------------------------------- |
| options | AblyChannelOptions |
Returns: Promise<{ value: string; }>
--------------------
#### AblyDeviceOptions
| Prop | Type |
| ----------------- | ------------------- |
| clientId | string |
| deviceToken | string |
#### AblyChannelOptions
| Prop | Type |
| ----------------- | ------------------- |
| name | string |
| clientId | string |
| deviceToken` | string |