Closed huangsir0 closed 1 month ago
Hi @huangsir0 - which flutter_contacts version are you using?
sensors_plus :4.0.2
flutter_contacts :1.1.9
I'm still running with v1.1.6, but same error v1.1.9
the plugin version in .lock is 1.1.6 ? 1.1.7 is well with sensors_plus
You can clone flutter_contacts, and change the namespace 'dev.fluttercommunity.plus.sensors' in the android-build.gradle file to 'dev.fluttercommunity.plus.sensors1'. In Flutter, replace flutter_contacts with the local path. it work!
Thanks for you advice,This plugin is indirectly referenced by third-party plugins in my project.
Thanks for you advice,This plugin is indirectly referenced by third-party plugins in my project.
You can do this in pubspec.yaml
dependency_overrides: flutter_contacts: path: ../flutter_contacts
Works ok with 1.1.8, does not work with 1.1.9
Fixed in version 1.1.9+2 - thanks @mattmapadmi