retrieveApplicationReportStatus

suspend fun retrieveApplicationReportStatus(application: ApplicationMetadata, automaticUpload: Boolean = false, shrink: Boolean = true): Flow<Pair<ApplicationReportStatus, Any?>>

This method allows you to retrieve the report of an application by sending multiple requests in between multiple delay times.

One single process per application will be run at a time. Be sure to call it only once per application.

It must be run in a coroutine context such as Dispatchers.IO.


🔑 Minimum required license level: Advanced.

Return

Kotlin Flow that you can use to collect the different responses of the report. The responses come in a Pair format of ApplicationReportStatus and additional information. If the report is ready, the pair will contain the report with it (Response.RetrieveDeviceApplicationReportV3). In case of an error, the error message will be sent as well.

Since

v1.4.0

Parameters

application

ApplicationMetadata — The application for which the report will be retrieved

automaticUpload

Boolean - to specify whether the application binaries should be automatically uploaded to the server in case it wasn't found (False by default)