FirebaseCallbacks
protocol FirebaseCallbacks
A structure that groups Firebase-related callbacks
-
Store this closure to authenticate the websocket when SDK is ready
Declaration
Swift
var authenticateWebSocketWithAccessToken: WebSocketAuthentication? { mutating get set }
-
Used when we want to send an OnApprove message to the SPB from native when SDK is ready
Declaration
Swift
var onApproveRTDBMessageClosure: OnApproveRTDBMessageClosure? { mutating get set }
-
Used when we want to send a OnCancel message to the SPB from native
Declaration
Swift
var onCancelRTDBMessageClosure: OnCancelRTDBMessageClosure? { mutating get set }
-
Used when we want to send a OnError message to the SPB from native
Declaration
Swift
var onErrorRTDBMessageClosure: OnErrorRTDBMessageClosure? { mutating get set }
-
Used to communicate back to SPB that are falling back to browser
Declaration
Swift
var onFallbackRTDBMessageClosure: OnFallbackRTDBMessageClosure? { mutating get set }
-
Used to communicate back to SPB the app loaded
Declaration
Swift
var onInitRTDBMessageClosure: OnInitRTDBMessageClosure? { mutating get set }