openFuelingApp

fun openFuelingApp(context: Context, id: String? = null, enableBackToFinish: Boolean = true, callback: AppCallbackImpl = defaultAppCallback)

Starts an AppActivity and loads Fueling App in the cloud.pace.sdk.appkit.app.webview.AppWebView.

Parameters

context

Context which should be used to start the AppActivity.

id

Needed to get Fueling App Url for specific gas station

enableBackToFinish

True if the AppActivity should be finished or false if the cloud.pace.sdk.appkit.app.webview.AppWebView should navigate back on back press.

callback

Via this callback the client app can subscribe to certain app events.