Skip to content

AthleticNet/capacitor-firebase-realtime

Repository files navigation

capacitor-firebase-realtime

Capacitor Firebase Realtime plugin

Install

npm install capacitor-firebase-realtime
npx cap sync

API

signOut()

signOut() => Promise<null>

Returns: Promise<null>


initialize(...)

initialize(options: { signedInUserId: number; }) => Promise<{ signedIn: boolean; }>
Param Type
options { signedInUserId: number; }

Returns: Promise<{ signedIn: boolean; }>


signInWithCustomToken(...)

signInWithCustomToken(options: { token: string; }) => Promise<null>
Param Type
options { token: string; }

Returns: Promise<null>


updateChildren(...)

updateChildren(options: { path: string; data: any; }) => Promise<null>
Param Type
options { path: string; data: any; }

Returns: Promise<null>