roughike/flutter_facebook_login

plugin crashes the app

Closed this issue · 6 comments

after adding plugin "flutter_facebook_login: ^1.1.1" or "flutter_facebook_login: ^1.1.1",
fail to build the apk, causing an immediate exit when open the app.

Built build/app/outputs/apk/debug/app-debug.apk.

after this step, nothing comes out.

Did you remember to follow these installation instructions in the README?

https://github.com/roughike/flutter_facebook_login/tree/bugfix/resolve-ios-build-issues#installation

If you didn't touch your AndroidManifest.xml, it will result in a crash.

Oh, Thank you. I will try it later.

Closing due to not getting a response, and due to fact that not following the installation instructions was the case for another user having the same issue :)

Feel free to comment if the problem persists.

It would be nice if those additional installation instructions were found here.
https://pub.dartlang.org/packages/flutter_facebook_login#-installing-tab-

That is something I can't change - pub doesn't allow customizing that section for package maintainers.

In android/gradle.properties i added:

android.useAndroidX=true
android.enableJetifier=true

and stop to crash...