Closed Seferi closed 2 years ago
@Seferi I have tested. in my iPhone X with iOS 15 without any problem. Please fix your info.plist because it is not showing correctly and add more info about the device that you are using
@darwin-morocho Thanks mate, I tried to fix the info.plist but no matter what I tried, it shows up as it is. › this character recognized as a quote. Any suggestions ? I tried it on iPhone Xs, iOS 15.1
try to use the last version of this plugin and also if the problem persists try to clone the repo and run the example folder with your credentials
ok, I tried the latest version of the plugin. Problem persists and this is the error I'm getting:
FBSDKLog: starting with Graph API v2.4, GET requests for /facebookId/aem_conversion_configs should contain an explicit "fields" parameter flutter: Transition { currentState: LoginIsSignUpState(), event: LoginButtonPressed { networkType: AuthenticationMethod.facebook, userCredential: null}, nextState: Login Failure ( error: Instance of 'Error') } [connection] nw_resolver_start_query_timer_block_invoke [C26.1] Query fired: did not receive all answers in time for graph.facebook.com:443 [connection] nw_resolver_start_query_timer_block_invoke [C26.2] Query fired: did not receive all answers in time for graph.facebook.com:443
Have you tried using the example project?
Also this plugin doesn't have the next class FacebookUserCredential and AuthenticationMethod so the next error
flutter: Transition { currentState: LoginIsSignUpState(), event: LoginButtonPressed { networkType: AuthenticationMethod.facebook, userCredential: null}, nextState: Login Failure ( error: Instance of 'Error') }
[connection] nw_resolver_start_query_timer_block_invoke [C26.1] Query fired: did not receive all answers in time for graph.facebook.com:443
[connection] nw_resolver_start_query_timer_block_invoke [C26.2] Query fired: did not receive all answers in time for graph.facebook.com:443
is not of this plugin
try to use the last version of this plugin and also if the problem persists try to clone the repo and run the example folder with your credentials
I will clone the repo and try it as next step..
I cloned the app and tried to run on the iOS device but build fails and I get this error:
error: No profiles for 'app.meedu.facebookAuthExample' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'app.meedu.facebookAuthExample'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Runner' from project 'Runner')
Automatic signing is enabled and for the life of me I couldn't find-allowProvisioningUpdates argument anywhere in Xcode so I could enable..
When I tap the facebook login in our app, in-app browser launches with the facebook login screen without the user info. Here is the log:
SELECT * FROM cacheObject WHERE touched < ? ORDER BY touched DESC LIMIT 100 OFFSET 200 (
8637611985486
)
SELECT * FROM cacheObject WHERE touched < ? LIMIT 100 (
9627405395457
)
DELETE FROM cacheObject WHERE _id IN ()
changed 0
[tcp] tcp_input [C10.1:3] flags=[R] seq=632217078, ack=0, win=0 state=CLOSED rcv_nxt=632217078, snd_una=1262899556[tcp] tcp_input [C10.1:3] flags=[R] seq=533227038, ack=0, win=0 state=CLOSED rcv_nxt=546735645, snd_una=1262899556
[connection] nw_resolver_start_query_timer_block_invoke [C10] Query fired: did not receive all answers in time for graph.facebook.com:443
go to your Facebook account and in your settings delete your app and try the login flow again
closed by inactivity
On Android everything works flawlessly. On iOS, we are getting an facebook app not found error and facebook login screen is shown in in-app-browser afterwards.
Environment
flutter doctor -v
pubspec.yaml
Info.plist
AppDelegate.swift
To Reproduce
Expected behavior We expect to happen that the facebook app launches and asks for the permission to authorise the login and then our app logins via facebook credentials. Instead the in-app-browser is launched with the facebook login screen.