CustomizableFirebaseCallbacks
struct CustomizableFirebaseCallbacks
extension Checkout.CustomizableFirebaseCallbacks : FirebaseCallbacks
A FirebaseCallbacks
implementation that has empty callbacks by default, allowing for custom callbacks
to be passed in. It also serves as a default implementation of the protocol, to be extended as needed.
-
Store this closure to authenticate the websocket when SDK is ready
Declaration
Swift
lazy var authenticateWebSocketWithAccessToken: WebSocketAuthentication? { mutating get set }
-
Undocumented
Declaration
Swift
init()
-
Used when we want to send an OnApprove message to the SPB from native when SDK is ready
Declaration
Swift
lazy var onApproveRTDBMessageClosure: OnApproveRTDBMessageClosure? { mutating get set }
-
Used when we want to send a OnCancel message to the SPB from native
Declaration
Swift
lazy var onCancelRTDBMessageClosure: OnCancelRTDBMessageClosure? { mutating get set }
-
Used when we want to send a OnError message to the SPB from native
Declaration
Swift
lazy var onErrorRTDBMessageClosure: OnErrorRTDBMessageClosure? { mutating get set }
-
Used to communicate back to SPB that are falling back to browser
Declaration
Swift
lazy var onFallbackRTDBMessageClosure: OnFallbackRTDBMessageClosure? { mutating get set }
-
Used to communicate back to SPB the app loaded
Declaration
Swift
lazy var onInitRTDBMessageClosure: OnInitRTDBMessageClosure? { mutating get set }