DeviceCloud
Console UIMaestro DocsDiscord
  • Welcome to DeviceCloud
  • Getting Started
    • Quick Start
    • API Keys
    • Executing Flows
    • Limits
    • Upgrade Guide
    • Device Configuration
  • CI/CD Integration
    • Overview
    • GitHub Actions
    • BitRise
    • Any CI
    • Status API
  • Reference
    • Test Execution
    • App Management
    • Environment Variables
    • Device Orientation
    • Device Locale
    • Async Execution
    • Retry Strategies
    • Report Formats
    • Download Artifacts
    • Quiet Mode
    • Maestro Versions
    • Test Run Name
    • Google Play APIs
    • Email Notifications
    • Exit Codes
    • Runner Type
  • Infrastructure & Security
    • IP Addresses
    • Security Overview
    • IT Security Policies
    • Enterprise SSO
  • Legal
    • Service Level Agreements
    • Open Source Notices
    • Privacy Policy
    • Terms and Conditions
    • Refund Policy
Powered by GitBook
On this page
  • App Binary Options
  • Primary App Binary
  • Additional App Binaries
  • Binary Management
  • SHA Hash Checking

Was this helpful?

Edit on GitHub
  1. Reference

App Management

Device Cloud provides several ways to manage your application binaries during test execution.

App Binary Options

Primary App Binary

You have two ways to specify your main application binary:

  1. Direct File Upload

dcd cloud --app-file ./path/to/your/app.apk flow.yaml
  1. Using Previously Uploaded Binary

dcd cloud --app-binary-id abc123 flow.yaml

Additional App Binaries

For testing scenarios requiring multiple apps (e.g., companion apps):

# Upload multiple new apps
dcd cloud --app-file main.apk --additional-app-files companion.apk other.apk

# Use previously uploaded binaries
dcd cloud --app-binary-id main-id --additional-app-binary-ids companion-id other-id

# Mix and match
dcd cloud --app-file main.apk --additional-app-binary-ids companion-id

Binary Management

SHA Hash Checking

By default, Device Cloud checks the SHA hash of your binary to avoid redundant uploads (it will automatically work out the app-binary-id for you). To override:

dcd cloud --app-file ./app.apk --ignore-sha-check

Use this when:

  • You need to force a re-upload of the same binary

  • You're experiencing hash verification issues

PreviousTest ExecutionNextEnvironment Variables

Last updated 3 months ago

Was this helpful?