roughike / flutter_facebook_login

A Flutter plugin for allowing users to authenticate with native Android & iOS Facebook login SDKs.
BSD 2-Clause "Simplified" License
405 stars 330 forks source link

[ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: MissingPluginException(No implementation found for method logIn on channel com.roughike/flutter_facebook_login) #318

Open Nandan-Wewhare opened 3 years ago

Nandan-Wewhare commented 3 years ago

Occurs every time I call the onTap method from a button for Fb login according to docs.

darwin-morocho commented 3 years ago

Occurs every time I call the onTap method from a button for Fb login according to docs.

Hi @redjamhere the problem is that you have not configured the plugin on Android yet.

The facebook SDK on Android throws an Exception when the configuration is not defined yet and this locks the other plugins in your project.

Also this plugin is obsolete, it does not have any updates since 2019

pravinkumarputta commented 3 years ago

I'm also having the same issue. It's breaking all plugins working. All plugins have gone missing after installing this plugin.

Is there any solution for this?

darwin-morocho commented 3 years ago

I'm also having the same issue. It's breaking all plugins working. All plugins have gone missing after installing this plugin.

Is there any solution for this?

the solution is very simple Just set up the Facebook sdk on Android before run the project

pravinkumarputta commented 3 years ago

I'm also having the same issue. It's breaking all plugins working. All plugins have gone missing after installing this plugin. Is there any solution for this?

the solution is very simple Just set up the Facebook sdk on Android before run the project

Thanks for the quick reply. It's working now.

yulianto8327 commented 1 year ago

Can you clarify how I can set up the Facebook sdk on Android?