I would like to remove the following sub-dependency packages from my flutter app, that are listed in my pubspec.lock file (not pubspec.yaml):
flutter_facebook_auth flutter_facebook_auth_platform_interface flutter_facebook_auth_web
My app does not use Facebook auth. It is not enabled as one of the sign-in providers in the Firebase console. It is also not listed as a provider:
FlutterFireUIAuth.configureProviders([ const EmailProviderConfiguration(), const GoogleProviderConfiguration(clientId: googleClientId), const AppleProviderConfiguration(), ]);
I understand they may be installed by default as part of the firebase_auth package. Is there any way to remove them?
When running the app, I had previously received warnings related to FacebookAutoLogAppEventsEnabled and FacebookAdvertiserIDCollectionEnabled, and I have set both to false in the Info.plist file. Unfortunately, I still get those 3 facebook packages when running pod install or pod update.
I have already tried running flutter clean as well as deleting the podfile.lock file in the ios folder.
Much appreciated.
here it says you need to install facebook plugin separately.
try