MisterJimson / flutter_keyboard_visibility

Get notified on keyboard visibility changes in your Flutter app
MIT License
408 stars 123 forks source link

flutter_keyboard_visibility does not work with Android Gradle Plugin 8+ #151

Open derekpitts28 opened 7 months ago

derekpitts28 commented 7 months ago

Will get an error if you try to run in a project with AGP 8+: "Namespace not specified. Specify a namespace in the module's build file"

3bdelr7man996 commented 5 months ago

open flutter_keyboard_visibility package in local gradle cache

Locate the package attribute in your AndroidManifest.xml files. This is typically found in the android/app/src/main/AndroidManifest.xml file

Open build.gradle file and add the namespace property to the android block. The value should match the package attribute from your AndroidManifest.xml.

After adding the namespace property in the build.gradle file, remove the package attribute from your AndroidManifest.xml. worked with me

94Sip commented 2 months ago

has this been fixed yet?

Yaliih commented 1 month ago

Still not ?