@franzmoro-os/pusher-capacitor-plugin
v0.0.0-alpha.1
Published
Enables Pusher Beams to communicate with JS thread on Capacitor app.
Downloads
4
Readme
pusher-capacitor-plugin
Enables Pusher Beams to commuincate with JS thread on Capacitor app.
Install
yarn add pusher-capacitor-plugin@file:platforms/emp/libs/pusher-capacitor-plugin
npx cap sync
API
authenticateUser(...)
authenticateUser(options: AuthenticatePusherUserParams) => Promise<void>
| Param | Type |
| ------------- | ------------------------------------------------------------------------------------- |
| options
| AuthenticatePusherUserParams |
logoutUser()
logoutUser() => Promise<void>
Interfaces
AuthenticatePusherUserParams
| Prop | Type |
| --------------- | ------------------- |
| authUrl
| string |
| authToken
| string |
| userId
| string |