0.0.0-alpha.1 • Published 1 year ago
@franzmoro-os/pusher-capacitor-plugin v0.0.0-alpha.1
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 |
0.0.0-alpha.1
1 year ago