AbdulRahmanAlHamali / flutter_typeahead

A TypeAhead widget for Flutter, where you can show suggestions to users as they type
BSD 2-Clause "Simplified" License
830 stars 348 forks source link

Upgrade of flutter_keyboard_visibility #364

Closed bksubhuti closed 1 year ago

bksubhuti commented 2 years ago

I'm getting build errors with snapcraft command (for release snaps). Seems to be issues related to flutter_keyboard_visibility

This app is using a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to migrate this app
to the V2 embedding.
Take a look at the docs for migrating an app:
https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
The plugin `flutter_keyboard_visibility` requires your app to be migrated to the
Android embedding v2. Follow the steps on
https://flutter.dev/go/android-project-migration and re-run this command.
Failed to run 'flutter pub get' for 'tipikata-pali-reader': Exited with code 1.
Verify that the part is using the correct parameters and try again.
sjmcdowall commented 2 years ago

I am not sure this is a typeahead issue? Did you follow the steps on upgrading your app to V2 Android embedding? The error seems to indicate that because typeahead uses flutter_keyboard_visibility that your app needs to be upgraded to v2 or something?