Skip to content

Commit

Permalink
Get apk details with retry
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelpasterz committed Aug 2, 2021
1 parent e2a2ef3 commit fdd962e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test_runner/src/main/kotlin/ftl/client/google/AppDetails.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package ftl.client.google

import com.google.testing.model.FileReference
import ftl.http.executeWithRetry

fun getAndroidAppDetails(gcsAppPath: String): String =
GcTesting.get.ApplicationDetailService().getApkDetails(FileReference().apply { gcsPath = gcsAppPath })
.execute()?.apkDetail?.apkManifest?.packageName?.toString().orEmpty()
.executeWithRetry()?.apkDetail?.apkManifest?.packageName?.toString().orEmpty()

0 comments on commit fdd962e

Please sign in to comment.