Closed slorop41314 closed 2 years ago
it seems you have cache problems try with the next commands
flutter clean
or
flutter cache repair
Maybe you had a previous version of this plugin installed in this plugin before?
Yess, im using the 3.4.1 before, already do flutter pub cache repair but still get the same error
Yess, im using the 3.4.1 before, already do flutter pub cache repair but still get the same error
Did you follow the migration guide before update to 3.5.0? https://facebook.meedu.app/#/migration-guide
Yes, already do it, but still the same error
Yes, already do it, but still the same error
Please clone the example project and replace with your credentials and let me know if the problem persists
I have run the example project without problems so I couldn't reproduce the issue because is a cache problem.
If you run flutter clean
and the problem is not fixed maybe you need to delete manually all flutter_facebook_auth downloaded dependencies in ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/
I've tried to delete the cache, but still the same.
When i tried pub get, it shows this warning,
Warning: You are using these overridden dependencies:
! flutter_facebook_auth_platform_interface 2.6.1 (2.7.0 available)
I've tried to delete the cache, but still the same. When i tried pub get, it shows this warning, Warning: You are using these overridden dependencies: ! flutter_facebook_auth_platform_interface 2.6.1 (2.7.0 available)
please add your complete pubspec.yaml it seems you are using flutter_facebook_auth_platform_interface 2.6.1 and that version is not compatible with flutter_facebook_auth 3.5.0 because it has new features that needs flutter_facebook_auth_platform_interface 2.7.0
I've tried to delete the cache, but still the same. When i tried pub get, it shows this warning, Warning: You are using these overridden dependencies: ! flutter_facebook_auth_platform_interface 2.6.1 (2.7.0 available)
please add your complete pubspec.yaml file not only your dependencies
Thanks a lot, theres dependency overrides in the project pubspec.yaml , i didnt notice it before. Now working fine.
Describe the bug ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_auth-3.5.0+1/lib/flutter_facebook_auth.dart:115:51: Error: The getter 'isAutoLogAppEventsEnabled' isn't defined for the class 'FacebookAuthPlatform'.
Environment Add your
flutter doctor -v
Flutter version 2.2.3 at /Users/albertstanley/development/flutter • Framework revision f4abaa0735 (7 weeks ago), 2021-07-01 12:46:11 -0700 • Engine revision 241c87ad80 • Dart version 2.13.4 Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.5.1, Build version 12E507 • CocoaPods version 1.10.1Add your
pubspec.yaml
flutter_facebook_auth: ^3.5.0+1