App Management
Device Cloud provides several ways to manage your application binaries during test execution.
App Binary Options
You can pass your application binary in any of these ways:
As the first argument
dcd cloud ./path/to/your/app.apk flows/With
--app-file
dcd cloud --app-file ./path/to/your/app.apk flows/Using a previously uploaded binary
dcd cloud --app-binary-id 67894274-b789-4c1e-80d4-da8998998999 flows/Get a binary ID from an earlier run, or upload the binary on its own with dcd upload:
dcd upload ./path/to/your/app.apkFrom an Expo build URL (iOS only)
dcd cloud --app-url "<signed-expo-build-url>" flows/The URL must point to an Expo iOS simulator build (.tar.gz). The CLI downloads the archive and extracts the .app inside it. Expo signed URLs expire after about an hour.
Supported file types
.apk
Android
.app
iOS simulator build
.zip
iOS: a zip containing exactly one .app
.tar.gz
iOS: an Expo simulator build archive, extracted automatically
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:
Use this when:
You need to force a re-upload of the same binary
You're experiencing hash verification issues
Retention
Uploaded binaries are deleted after 1 month without use. After that, runs that reference the binary's ID fail, so upload the build again.
Last updated