heyr
heyr

Reputation: 5794

Facebook dependency into Flutter app crashes

Whenever I import a facebook dependency (flutter_facebook_login: "^1.1.1") into a pubspec.yaml in the app that I am developing, and I launch the app, it says "App has stopped", and whenever I remove it, it works.

Upvotes: 0

Views: 2500

Answers (1)

GreenTigerEye
GreenTigerEye

Reputation: 6647

"To get things up and running, you'll have to declare a pubspec dependency in your Flutter project. Also some minimal Android & iOS specific configuration must be done, otherise your app will crash."

Did you include all configurations correctly? Depends on which device you are using you have to make sure that the Android or iOS configuration is set up correctly.

See https://pub.dartlang.org/packages/flutter_facebook_login

Upvotes: 1

Related Questions