Functions

The following functions are available globally.

  • Generates a String of JS code that is to be evaluated when the Oauth capture activity is finished and we have the response to notify Connect with

    Declaration

    Swift

    public func getOauthCaptureCompletionJavascript(jsonRPCResponseData: Data) -> String

    Parameters

    jsonRPCResponseData

    The Data for the response object that we are emitting to Connect via the SmartcarSDKResponse CustomEvent