-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to get UserData after using limited login in ios #412
Comments
I am facing the same problem here. However, it works fine in iOS simulators and iOS 17.5.1 (iPhone 14 pro) but, did not get user data in iOS 15.8.2 (iPhone 7) and iOS 17.4.1 (iPhone 15 pro max) real devices. Got any solution? @rohnsht |
Same issue here! |
I have recived this message from meta. There have been changes made to the Facebook Login SDK for iOS that require your action. As of late March, we have made changes to our iOS FBLogin SDK in response to the overall changes to iOS that will affect all iOS developers who utilize FBLogin. In order to avoid potential app disruption, we are recommending iOS developers to do one of the following, based on how their application is utilizing FBLogin: It seems I need to update the ios sdk to the lastest version. I will try to do it in these days |
I encountered the same issue and discovered that the exception occurs only when my app has been granted app tracking permission and I use the default Therefore, if you are requesting app tracking permission (common if you are using ads) and the user has granted the permission, you should use If you do not want to check if app tracking is enabled, just use: FacebookAuth.instance.login(loginTracking: LoginTracking.enabled) This function triggers a limited login if tracking permission is not granted and the "normal" login if tracking is granted. I think |
same issue too |
I faced this problem and have already solved it(i tested on the iOS version 15.4 and 17.4 and I tested both the scenarios of enabling and disabling ad analytics permissions separately . all work fine ). Friends who have the same problem can try to solve it in the following way:
await FacebookAuth.instance.login(loginTracking:LoginTracking.enabled)
|
I did exactly same, also try various login behavour, but getting issues, For me issue is not resolved even if enabled LoginTracking.enabled |
I've the same problem during
Got any solution? @rohnsht |
I'm always receiving |
I followed the steps people used successfully, but like you, I still get the same message. Were you able to resolve the issue? |
What version are you using?
flutter_facebook_auth: ^7.0.0
What OS and version are you using to local deploy your application?
ios 16.6
What platforms are you seeing the problem on?
iOS
pubspec.yaml
Describe the Bug
I am trying to get the user's after after successful limited login in ios. However, I get this issue:
flutter: PlatformException(FAILED, The operation couldn’t be completed. (com.facebook.sdk.core error 8.), null, null) flutter: #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648:7) #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18) <asynchronous suspension> #2 FacebookAuthPlatformImplementation.getUserData (package:flutter_facebook_auth_platform_interface/src/facebook_auth_implementation.dart:84:20) <asynchronous suspension> #3 FacebookAuth.getUserData (package:flutter_facebook_auth/flutter_facebook_auth.dart:70:20) <asynchronous suspension>
Expected Behavior
I should be able to get user's data such as name, email and profile pic.
To Reproduce
Relevant log output
No response
flutter doctor -v
Info.plist (iOS)
No response
Podfile (iOS)
No response
AndroidManifest.xml
No response
MainActivity.java
No response
MainActivity.kt
No response
index.html
No response
Info.plist (macOS)
No response
The text was updated successfully, but these errors were encountered: