Closed Milad-Akarie closed 1 year ago
@Milad-Akarie I've tried to reproduce the issue without success.
Could you compare with this https://github.com/darwin-morocho/flutter-facebook-auth/tree/master/examples/with_provider example and replace the main.dart
file with your app id
Have same issue on version 4.2.1
What version are you using?
4.4.0+1
What OS and version are you using to local deploy your application?
macos
What platforms are you seeing the problem on?
web
pubspec.yaml
Describe the Bug
Facebook login shows error "Error: init not called with valid version" adding the following script AND calling FacebookAuth.i.webInitialize with same App Id makes login work
Expected Behavior
Show Facebook login dialog
To Reproduce
init the plugin await FacebookAuth.i.webInitialize( appId: "fb App id", cookie: true, xfbml: true, version: "v14.0", // tried v13.0 as well );
to main function then call FacebookAuth.instance.login()
Relevant log output
flutter doctor -v
Info.plist (iOS)
No response
Podfile (iOS)
No response
AndroidManifest.xml
No response
MainActivity.java
No response
MainActivity.kt
No response
index.html
Info.plist (macOS)
No response