Skip to content

Don't reinstall the app if the latest build is already installed #8295

@jakobr-google

Description

@jakobr-google

The current code always installs the latest build. For Android builds, we generate a SHA1 of the .apk, and there's code in flutter tools that checks if the installed SHA1 matches that of the latest build. At one point in time, this was used to skip the install step if the SHA1's matched, but this has been broken for a while.

We should fix that. See description/discussion on #8290.

For extra credit, implement/verify the same behavior for iOS devices.

Metadata

Metadata

Assignees

Labels

toolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions