commit | 421258baea8d2102ae92f93c59f982f188e2aad8 | [log] [tgz] |
---|---|---|
author | Jakob Andersen <jakobr@google.com> | Tue Feb 21 10:18:12 2017 +0100 |
committer | GitHub <noreply@github.com> | Tue Feb 21 10:18:12 2017 +0100 |
tree | 73b901b5c5b775ad918e542f6837e07b17ab1c7c | |
parent | 2888139c6ba0a46d9f164868012dbeec475ab346 [diff] |
Remove SHA1 check from AndroidDevice.isAppInstalled() (#8290) * Remove SHA1 check from AndroidDevice.isAppInstalled() The docs for isAppInstalled say 'check if a version of the given app is already installed', however the current code returns true only if it's the latest build that's installed. This made sense in the past, when the use pattern was: if (!isAppInstalled(...)) installApp(...); but now the usage is: if (isAppInstalled(...)) uninstallApp(...); installApp(...); This has the probably unintended consequence that if you run `flutter install` or `flutter run` two times in a row with no source changes, the second invocation will uninstall the app, but the first invocation might not. Removing the SHA1 check makes us always uninstall the app if it's installed. Fixes #8172
Flutter is a new way to build high-performance, cross-platform mobile apps. Flutter is optimized for today‘s, and tomorrow’s, mobile devices. We are focused on low-latency input and high frame rates on Android and iOS.
Flutter is an early-stage open-source project. We are still missing core features like accessibility, text input, localization, and more. However, you can build demos and examples today. We hope you try it out and send us feedback.
For information about using Flutter to build apps, please see the getting started guide.
For information about contributing code to Flutter itself, please see CONTRIBUTING.md.
Join us in our Gitter chat room or join our public mailing list, flutter-dev@googlegroups.com.