# defaultConfiguration

fun defaultConfiguration(clientApplicationInfo: PackageInfo, paymentApplicationPackage: String = "com.marketpay.pos"): SDKConfiguration

Creates default configuration with predefined ConnectionConfig

    packageName = "com.marketpay.pos",
    serviceBindingAction = IPC_SERVICE_CREATION_BINDING_ACTION,
    timeOutMillis = 3000,
    reconnectionPolicy = ReconnectionPolicy.RECONNECT(
    connectionContext = context,
    timeOutMillis = 2000L,
    retries = 15

Content copied to clipboard