Fix autocomplete app list integration: missing deps, Android 11+ visibility, safety & UX issues#493
Draft
Copilot wants to merge 2 commits intoDonnieBLT/integrate-app-listfrom
Draft
Fix autocomplete app list integration: missing deps, Android 11+ visibility, safety & UX issues#493Copilot wants to merge 2 commits intoDonnieBLT/integrate-app-listfrom
Copilot wants to merge 2 commits intoDonnieBLT/integrate-app-listfrom
Conversation
…red loading, icon safety, URL semantics, suggestion limits Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] [OWASP-BLT/BLT-Flutter#481] Integrate app list with autocomplete functionality
Fix autocomplete app list integration: missing deps, Android 11+ visibility, safety & UX issues
Mar 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The original autocomplete implementation had several issues preventing it from compiling or working correctly: missing
pubspec.yamldependencies, no Android 11+ package visibility declaration, unsafe icon access, startup jank from eager app loading, and the URL field being set to an app name instead of a valid store URL.Dependencies
device_apps: ^2.2.0andflutter_typeahead: ^5.2.0topubspec.yaml(were imported but undeclared)Android 11+ package visibility
<queries>block toAndroidManifest.xmlsoDeviceAppscan enumerate installed packages on API 30+Correctness & safety
onSuggestionSelectednow sets a valid store URL instead of the app name:itemBuildercheckssuggestion is ApplicationWithIconbefore accessing.icon; falls back to a Unicode-safe initial-letter avatar viarunes.firstif (!mounted) returnafter everyawaitingetInstalledApps()Performance
initStateto first focus of the URL field; guarded by_appsLoadedto prevent redundant fetchesincludeSystemApps: falseto cut down enumerated app countsuggestionsCallbackshort-circuits for queries < 2 chars and caps results at 20iOS model
_iosBundleToNamelookup so bundle IDs render as human-friendly names ("com.apple.mobilesafari"→"Safari", etc.)🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.