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 331 forks source link

Can't Find What is wrong #235

Closed ericlesMotta closed 4 years ago

ericlesMotta commented 4 years ago

After setting up the envorinment, i try to click on login and app open a webview with the message "Sorry, Something went wrong..." i´ve tested it on multiple devices(two real devices and one Pixel 2 via android studio emulator), and still get the same behavior, one of the devices send a error Failed to atempt login, others send a Cancelled by user.

Anyone has this problem too? how can i fix it ?

Android Studio 3.5.3 Android SDK 29.0.2 Flutter V1.12 + hotfix.5

@roughike

EmmanuelAmodu commented 4 years ago

Use this same developer account on facebook to login, this should fix it.

AlBlanc commented 4 years ago

I faced the same issue and the problem was I was asking permissions ['email', 'default'] (I don't remember from where I copied it).

Permission default was the one causing the problem

ericlesMotta commented 4 years ago

I got it to work, but in a old version, can´t find a way to get it working on the newest version. Downgrade to version 2.0.1, and minor changes in the code itself. Thanks for the Help anyway !