Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook Auth and facebook app events is not compatible #111

Closed
sukhkmr19 opened this issue Jun 24, 2021 · 16 comments
Closed

Facebook Auth and facebook app events is not compatible #111

sukhkmr19 opened this issue Jun 24, 2021 · 16 comments

Comments

@sukhkmr19
Copy link

Hi I am using
flutter_facebook_auth and facebook_app_events
pod install fails due to different FBSDKCore kit used please update to the latest in facebook_app_events.

Thanks

@zenkog
Copy link

zenkog commented Jun 25, 2021

I also got this problem. The error message as follows:

$ pod install
Analyzing dependencies
cloud_firestore: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
cloud_functions: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
firebase_analytics: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
firebase_database: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
firebase_storage: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "FBSDKCoreKit":
  In Podfile:
    facebook_app_events (from `.symlinks/plugins/facebook_app_events/ios`) was resolved to 0.0.1, which depends on
      FBSDKCoreKit (~> 9.1.0)

    flutter_facebook_auth (from `.symlinks/plugins/flutter_facebook_auth/ios`) was resolved to 2.0.0, which depends on
      FBSDKCoreKit (~> 11.0.0)

I have done:

  1. flutter clean then flutter pub get
  2. Delete Podfile, Podfile.lock, Pods directory, and then flutter pub get
  3. Delete .symlinks/ directory and do all of the above.
  4. Downgrade the plugin version to 0.11.2

None of these works.

The Flutter Facebook Auth is using a newer version of FBSDKCoreKit (version 11.0.0) now.

According to this thread the plugin's FBSDKCoreKit was updated to 9.1.0 to accommodate this problem, but now we need to update it again to version 11.0.0

HELP!

@zenkog
Copy link

zenkog commented Jun 25, 2021

For now, my solution is by using the older versions:

flutter_facebook_auth: 3.3.2+1
facebook_app_events: 0.11.2

These two versions work

@manojeeva
Copy link

Same here. Any upgrade coming soon?

@manojeeva
Copy link

For now, my solution is by using the older versions:

flutter_facebook_auth: 3.3.2+1
facebook_app_events: 0.11.2

These two versions work

for me setting the above version shows errors 9.00 and 9.1.0

@lutfiatrash
Copy link

Please, someone, upgrade the package soon

@akadatsky
Copy link

flutter_facebook_auth: 3.3.2+1
facebook_app_events: 0.11.2

This works for me, as temporary solution, but upgrade is required

@manimaran-designer
Copy link

Hi @oddbit

Can you update or fix this package issue for ios, i cant able to able to use previous versions after null safety migration.

@seedofjoy
Copy link

seedofjoy commented Jul 2, 2021

Latest compatible version of flutter_facebook_auth is 3.4.1.
FBSDKCore was updated to 11.0.0 in 3.5.0: darwin-morocho/flutter-facebook-auth@e8821f6

@manojeeva
Copy link

package.lock is showing 2.7 for flutter_facebook_auth_platform_interface. this version has new implementaion that is not working with flutter_facebook_auth 3.4.1. Any idea what went wrong here.
flutter_facebook_auth:
dependency: "direct main"
description:
name: flutter_facebook_auth
url: "https://pub.dartlang.org"
source: hosted
version: "3.4.1"
flutter_facebook_auth_platform_interface:
dependency: transitive
description:
name: flutter_facebook_auth_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "2.7.0"

Latest compatible version of flutter_facebook_auth is 3.4.1.
FBSDKCore was updated to 11.0.0 in 3.5.0: darwin-morocho/flutter-facebook-auth@e8821f6

@seedofjoy
Copy link

@manojeeva Just pin flutter_facebook_auth_platform_interface to 2.6.1:

dependency_overrides:
  flutter_facebook_auth_platform_interface: "2.6.1"

@louna-akkad
Copy link

for me setting the above version shows errors 9.00 and 9.1.0

getting same error how to fix ?

@VKBobyr
Copy link

VKBobyr commented Jul 15, 2021

@louna-akkad @manojeeva

Try this:

flutter_facebook_auth: 3.3.2+1
facebook_app_events: 0.12.0

@manojeeva
Copy link

@manojeeva Just pin flutter_facebook_auth_platform_interface to 2.6.1:

dependency_overrides:
  flutter_facebook_auth_platform_interface: "2.6.1"

This works for me.

@FetFrumos
Copy link

this doesn't work for me, any help?

@ccamba
Copy link

ccamba commented Aug 9, 2021

this doesn't work for me neither

@DennisAlund
Copy link
Member

Might have been fixed in 0.13 (see commit 7799a4d) if it was incompatibility with Facebook SDK version. See #114 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests