Open suhailbilalw opened 4 days ago
Hi @suhailbilalw,
I tried running your project locally to test the integration, but unfortunately, I wasn’t able to. Have you been able to run the project locally on a real device?
Hello @paulperez-dev, Could happen because several files in the project are manually modified and app branch is the main branch. But if you will create a new fresh project, I'm sure facebook login will not work on android. flutter_facebook_auth library author has mentioned the issue in his documentation, saying it needs additional configuration. Please go through the documentation once as well.
E/flutter (20858): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method login on channel app.meedu/flutter_facebook_auth)
E/flutter (20858): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332)
E/flutter (20858): <asynchronous suspension>
E/flutter (20858): #1 FacebookAuthPlatformImplementation.login (package:flutter_facebook_auth_platform_interface/src/facebook_auth_implementation.dart:35)
E/flutter (20858): <asynchronous suspension>
E/flutter (20858): #2 facebookSignIn (package:project/auth/firebase_auth/facebook_auth.dart:20)
E/flutter (20858): <asynchronous suspension>
E/flutter (20858): #3 FirebaseAuthManager._signInOrCreateAccount (package:project/auth/firebase_auth/firebase_auth_manager.dart:311)
E/flutter (20858): <asynchronous suspension>
@paulperez-dev Right now flutterflow is only including "facebook_app_id" in strings.xml but according to what documentation tells flutterflow should add second string "facebook_client_token" as well. That fixes the issue probably.
Hi @suhailbilalw,
Thanks for the information. I'm looking into this.
Can we access your project?
Current Behavior
Facebook login is throwing error.
Expected Behavior
should open facebook intent to login.
Steps to Reproduce
create a page. place a button. add onPressed event authentication "facebook login" from the actions. test on android.
Reproducible from Blank
Bug Report Code (Required)
IT4ghefluYtPvsdY0aruYO9ViiEQOUh7a600st5Hd0gdCOPrBqQEZfeldk5uXtCraVNcC2KJpD0FwcmMv4TTNfY6Fw2Zc6J6+s9iFBb0e2iXVc2OBbqwRHd7GexYG0yOyImJnwhQHOx2L14k3V6QfOSsQjHDFOu/Zwh9f6PHaOI=
Visual documentation
try implementing facebook login via android.
Environment
Additional Information
No response