The implementation of the AppDelegate.swift as shown in the example, causes this problem with Facebook Login (I tried both of the main plugin flutter_facebook_auth and flutter_login_facebook).
The problem is this:
If the user is not logged in the browser and has the native Facebook app installed, he gets trapped in an infinite loop between webview and app.
In this way if the link does not concern the work of braintree the url can be handled normally.
This really gave me an headache :)
I'm not very expert in Ios, so I'm open to comment, I'll try to send a PR ASAP at most in the weekend hopefully
The implementation of the AppDelegate.swift as shown in the example, causes this problem with Facebook Login (I tried both of the main plugin flutter_facebook_auth and flutter_login_facebook).
The problem is this: If the user is not logged in the browser and has the native Facebook app installed, he gets trapped in an infinite loop between webview and app.
The indicted function is this one
I found the problem gets solved if I change it to
In this way if the link does not concern the work of braintree the url can be handled normally. This really gave me an headache :) I'm not very expert in Ios, so I'm open to comment, I'll try to send a PR ASAP at most in the weekend hopefully