Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ function tryInstallAppOnDevice(
.split(/(?=[A-Z])/);

// create path to output file, eg. `production/debug`
const variantPath =
variantFromSelectedTask?.join('/')?.toLowerCase() ?? defaultVariant;
// ensure multiflavored path is correct, e.g. `clientStagingDebug` -> `clientStaging/debug`
const variantPath = variantFromSelectedTask
? `${variantFromSelectedTask.slice(0, -1).join("")}/${variantFromSelectedTask.at(-1)!.toLocaleLowerCase()}`
: defaultVariant;
// create output file name, eg. `production-debug`
const variantAppName =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should also be updated

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

variantAppName? Seems to be fine

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh. Does it get generated as -client-staging-debug?

Copy link
Author

@Reeywhaar Reeywhaar Feb 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

client-staging-debug to be precise. First dash prepended here. And that is correct, that is what gradle produces

variantFromSelectedTask?.join('-')?.toLowerCase() ?? defaultVariant;
Expand Down