HotCodePush

audience

Count the devices a release would reach before you create it with hotcodepush audience get, using the same condition flags as release create.

hotcodepush audience get previews who a release would reach before it exists, with the condition flags release create takes. Target devices with attributes explains the conditions. --channel <id|name> names the channel, and defaults to hotcodepush.json's.

get

Preview the devices a release's conditions would reach in a channel, before it exists, the project's fingerprint among them. This is what release create --dry-run prints. Inside a project the fingerprint joins the conditions, so the count is what release create reaches.

OptionTypeDescription
--attribute <key=value>string, repeatableAn attribute the app sets that the device must carry, key=value, repeatable.
--binary-version <range>stringThe app versions served, a semver range such as ">=2.3.0 <3.0.0".
--channel <id|name>stringThe channel, by id or name. Defaults to hotcodepush.json's channel.
--device <id>string, repeatableA device the release is limited to, by id, repeatable.
--os-version <range>stringThe OS versions served, a range such as ">=17".
--rollout-percent <percent>numberThe rollout percentage to estimate, 0 to 100; 100 by default.
hotcodepush audience get --binary-version ">=2.3.0" --rollout-percent 10
hotcodepush audience get --channel production --attribute tier=beta --device 6b1e9d37-2f5c-4a80-9c46-d8e3a1f7b259 --json

Last updated on

On this page