-
-
Notifications
You must be signed in to change notification settings - Fork 332
Adding Braintree plugin makes Facebook login to stop working. #240
Comments
I have the same problem. It seems that you are right. |
@scourgy I think I found a quick solution: just go back to flutter_braintree: 0.5.3 |
@nicolobozzato I've also found something like a fix. |
@scourgy the check at the beginning is the portion of code added with the last version 0.5.3+1. |
You are right, returning false makes more sense in this case. I will go ahead and fix this. |
Should be fixed in flutter_braintree 0.5.3+2. Sorry for the inconvenience. |
Hi! I've created the mentioned PR and I agree with you, returning false is indeed better. However, I think you are talking about two separate issues. In the case @scourgy mentioned, an error arises during handling On the other hand, what @nicolobozzato mentioned above (#240 (comment)) there is a problem with the compilation and starting of the application at all. I get the following error, I hope someone could help:
|
I am working on an app that has social login and I am using the flutter_facebook_login plugin. It works fine, until I add another plugin - flutter_braintree. If it's added, then the app does not return any result when calling
facebookLogin.logIn['email']
. This happens only on Android.I guess it's something related to the flow - going out of the app, doing something, then returning a result (both Braintree and Facebook has this flow).
I guess Braintree overrides something that makes Facebook stop working.
Any ideas what could be wrong? I've read that it might be the
onActivityResult
function, but I am not aware of Android development and I am not sure. Any help will be very appreciated, thanks!The text was updated successfully, but these errors were encountered: