saadfarhan124 / flutter_facebook_sdk

A flutter plugin to get facebook deep links and log app events using the latest Facebook SDK to include support for iOS 14
Apache License 2.0
24 stars 85 forks source link

Upgrade to the latest Facebook SDK #13

Open aggutkarsh opened 2 years ago

aggutkarsh commented 2 years ago

Please upgrade the Android & iOS Facebook SDK to their latest version, i.e., 12.2

alectogeek commented 2 years ago

@saadfarhan124 Is this package abandoned?

Tetsukick commented 2 years ago

I m also facing same issue. plase upgrade SDK version

Tetsukick commented 2 years ago

@aggutkarsh I fixed this issue. I m waiting merge my PR https://github.com/saadfarhan124/flutter_facebook_sdk/pull/14

but if you want to use it, you can use like below

in pubspec.yaml

  flutter_facebook_sdk:
    git:
      url: git://github.com/Tetsukick/flutter_facebook_sdk
      ref: master
alectogeek commented 2 years ago

@Tetsukick Thanks a lot!

May I also ask you if it supports Aggregated Event Measurement for Facebook App Events? I tried to use another package (facebook_app_events) but looks like it does not implement the needed functionality for it. App Delegate and Scene Delegate are not connected there.

wanizam commented 2 years ago

Hi @Tetsukick im unable to do flutter pub get from your git. After i added it to my pubspec and run a flutter pub get, i'll get this error below. Does anyone know whats the issue?

pub get failed (server unavailable) -- attempting retry 8 in 64 seconds... Git error. Command:git clone --mirror git://github.com/Tetsukick/flutter_facebook_sdk /Users/justinleo/Developer/flutter/.pub-cache/git/cache/flutter_facebook_sdk-2e44e9787a02c4e47c78456847e1ad53633ffeb1 stdout: stderr: Cloning into bare repository '/Users/justinleo/Developer/flutter/.pub-cache/git/cache/flutter_facebook_sdk-2e44e9787a02c4e47c78456847e1ad53633ffeb1'... fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. exit code: 128 pub get failed (server unavailable) -- attempting retry 9 in 64 seconds...

saadfarhan124 commented 2 years ago

Sorry guys. I've been really caught up with this stuff but I'll be going through all the issue during the weekend. Please bear with me 😅 @alectogeek

AhkamKhallaf commented 2 years ago

@Tetsukick when i use flutter_facebook_sdk: git: url: git://github.com/Tetsukick/flutter_facebook_sdk ref: master i found two errors when run ios Swift Compiler Error (Xcode): Type 'ApplicationDelegate' has no member 'initializeSDK' and Swift Compiler Error (Xcode): 'nil' requires a contextual type and when run android What went wrong: Execution failed for task ':flutter_facebook_sdk:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction Compilation error. See log for more details