Skip to content

Commit

Permalink
fix app binary id
Browse files Browse the repository at this point in the history
  • Loading branch information
axelniklasson committed Oct 15, 2024
1 parent b82a623 commit f35dae4
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ class CloudInteractor(
val appId = response.appId
val uploadUrl = robinUploadUrl(project, appId, response.uploadId, client.domain)
val deviceMessage = if (response.deviceConfiguration != null) printDeviceInfo(response.deviceConfiguration) else ""
val appBinaryIdResponseId = if (appBinaryId != null) response.appBinaryId else null
return printMaestroCloudResponse(
async,
authToken,
Expand All @@ -149,7 +148,7 @@ class CloudInteractor(
uploadUrl,
deviceMessage,
appId,
appBinaryIdResponseId,
response.appBinaryId,
response.uploadId,
projectId,
)
Expand Down Expand Up @@ -253,7 +252,7 @@ class CloudInteractor(
private fun printDeviceInfo(deviceConfiguration: DeviceConfiguration): String {
val platform = Platform.fromString(deviceConfiguration.platform)

val line1 = "Maestro Cloud device specs:\n* ${deviceConfiguration.displayInfo} - ${deviceConfiguration.deviceLocale}"
val line1 = "Robin device specs:\n* ${deviceConfiguration.displayInfo} - ${deviceConfiguration.deviceLocale}"
val line2 = "To change OS version use this option: ${if (platform == Platform.IOS) "--ios-version=<version>" else "--android-api-level=<version>"}"
val line3 = "To change device locale use this option: --device-locale=<device_locale>"

Expand Down

0 comments on commit f35dae4

Please sign in to comment.