0.0.0-alpha.1 • Published 1 year ago

@franzmoro-os/pusher-capacitor-plugin v0.0.0-alpha.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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>
ParamType
optionsAuthenticatePusherUserParams

logoutUser()

logoutUser() => Promise<void>

Interfaces

AuthenticatePusherUserParams

PropType
authUrlstring
authTokenstring
userIdstring
0.0.0-alpha.1

1 year ago