Closed BunnyBuddy closed 1 year ago
@BunnyBuddy You are using an old version of this plugin and it uses the facebook sdk 12.0.1 , the current facebook sdk version is 15.x maybe the facebook api has been changed and you need to use a most recent version of this plugin
@BunnyBuddy You are using an old version of this plugin and it uses the facebook sdk 12.0.1 , the current facebook sdk version is 15.x maybe the facebook api has been changed and you need to use a most recent version of this plugin
Thank you for replying immediately. Okay I'll update it and then see if it works fine or not. Another thing I want ask is which version would you recommend with the least chances of following any conflicts with other packages and it gets the job done?
I tried using the latest version but it seems the other issue raised before this about IOS SDK breaking the build still exists. (Facebook SDK 15.x.x doesn't work well with macbook's with intel chips, mostly 2015 models). Even the workarounds aren't a solid solution especially if you're working in a team with different laptops. So I've decided to use the version (flutter_facebook_auth: 4.4.1) Facebook SDK 14.x.x, lets hope the issue goes away.
i'm also getting same error with version 4.4.1
[firebase_auth/invalid-credential] The supplied auth credential is malformed or has expired. [ Invalid access_token, error code 43 ] . my android vesrion is Android v14.1.0
I tried using the latest version but it seems the other issue raised before this about IOS SDK breaking the build still exists. (Facebook SDK 15.x.x doesn't work well with macbook's with intel chips, mostly 2015 models). Even the workarounds aren't a solid solution especially if you're working in a team with different laptops. So I've decided to use the version (flutter_facebook_auth: 4.4.1) Facebook SDK 14.x.x, lets hope the issue goes away.
did you get success??
i'm also getting same error with version 4.4.1
[firebase_auth/invalid-credential] The supplied auth credential is malformed or has expired. [ Invalid access_token, error code 43 ] . my android vesrion is Android v14.1.0
whats your firebase_auth version ? And another thing, try adding this in your pubspec.yaml
dependency_overrides:
firebase_core_platform_interface: 4.2.5
Okay now I am getting a totally different error and my app keeps crashing some times, which I suspect is due to the facebook sdk. I've searched alot and it looks like the issue is related to Facebook Android Audience Network, which I am not using anywhere.
The error log is as follows,
`F/libc (22086): Pointer tag for 0x441e439da2 was truncated. F/libc (22086): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 22297 (1.ui), pid 22086 (*****)
Build fingerprint: 'Infinix/X6811-GL/Infinix-X6811:11/RP1A.200720.011/22121858:user/release-keys' Revision: '0' ABI: 'arm64' Timestamp: 2023-02-08 11:40:46+0500 pid: 22086, tid: 22297, name: 1.ui >>> com.**** <<< uid: 10445 signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- Abort message: 'Pointer tag for 0x441e439da2 was truncated.' x0 0000000000000000 x1 0000000000005719 x2 0000000000000006 x3 00000079e64e9680 x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000020 x8 00000000000000f0 x9 0000007d08bfd840 x10 ffffff80fffffbdf x11 0000000000000001 x12 0000000000000018 x13 0000000063e343ee x14 000448fa3881d145 x15 000037055627708c x16 0000007d08c96c80 x17 0000007d08c78000 x18 00000079e54ba000 x19 00000000000000ac x20 0000000000005646 x21 00000000000000b2 x22 0000000000005719 x23 00000000ffffffff x24 00000079e98c3e61 x25 0000000000000000 x26 0000000000000000 x27 0000000000000065 x28 0000000000000001 x29 00000079e64e9700 lr 0000007d08c2b544 sp 00000079e64e9660 pc 0000007d08c2b574 pst 0000000000001000 backtrace:
#01 pc 000000000003bb68 /apex/com.android.runtime/lib64/bionic/libc.so (free+96) (BuildId: 47654091281bdd4362effe3ca962c8df)
#02 pc 0000000001a97204 /data/app/~~Yxt1RlUhb2TcUDQsvuT9KA==/com.***********-vCf0I5h7JYsGYkztTft_xw==/lib/arm64/libflutter.so (BuildId: c8945aa29907615063302b1a9abd6fe0b22cf5c4)
#03 pc 0000000001a9731c /data/app/~~Yxt1RlUhb2TcUDQsvuT9KA==/com.***********-vCf0I5h7JYsGYkztTft_xw==/lib/arm64/libflutter.so (BuildId: c8945aa29907615063302b1a9abd6fe0b22cf5c4)
#04 pc 0000000001c6cba0 /data/app/~~Yxt1RlUhb2TcUDQsvuT9KA==/com.***********-vCf0I5h7JYsGYkztTft_xw==/lib/arm64/libflutter.so (BuildId: c8945aa29907615063302b1a9abd6fe0b22cf5c4)
#05 pc 0000000001531adc /data/app/~~Yxt1RlUhb2TcUDQsvuT9KA==/com.***********-vCf0I5h7JYsGYkztTft_xw==/lib/arm64/libflutter.so (BuildId: c8945aa29907615063302b1a9abd6fe0b22cf5c4)
#06 pc 000000000153176c /data/app/~~Yxt1RlUhb2TcUDQsvuT9KA==/com.***********-vCf0I5h7JYsGYkztTft_xw==/lib/arm64/libflutter.so (BuildId: c8945aa29907615063302b1a9abd6fe0b22cf5c4)
#07 pc 000000000184fec4 /data/app/~~Yxt1RlUhb2TcUDQsvuT9KA==/com.***********-vCf0I5h7JYsGYkztTft_xw==/lib/arm64/libflutter.so (BuildId: c8945aa29907615063302b1a9abd6fe0b22cf5c4)
#08 pc 000000000184fdc0 /data/app/~~Yxt1RlUhb2TcUDQsvuT9KA==/com.***********-vCf0I5h7JYsGYkztTft_xw==/lib/arm64/libflutter.so (BuildId: c8945aa29907615063302b1a9abd6fe0b22cf5c4)
#09 pc 000000000152d5a0 /data/app/~~Yxt1RlUhb2TcUDQsvuT9KA==/com.***********-vCf0I5h7JYsGYkztTft_xw==/lib/arm64/libflutter.so (BuildId: c8945aa29907615063302b1a9abd6fe0b22cf5c4)
#10 pc 0000000001533b0c /data/app/~~Yxt1RlUhb2TcUDQsvuT9KA==/com.***********-vCf0I5h7JYsGYkztTft_xw==/lib/arm64/libflutter.so (BuildId: c8945aa29907615063302b1a9abd6fe0b22cf5c4)
#11 pc 000000000001a064 /system/lib64/libutils.so (android::Looper::pollInner(int)+916) (BuildId: b81fad2b6b7b7f85c6217d2cb80c9e61)
#12 pc 0000000000019c68 /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112) (BuildId: b81fad2b6b7b7f85c6217d2cb80c9e61)
#13 pc 0000000000012d3c /system/lib64/libandroid.so (ALooper_pollOnce+100) (BuildId: 167355f3d887f9fd3eb0e01a4f6e20c7)
#14 pc 0000000001533a94 /data/app/~~Yxt1RlUhb2TcUDQsvuT9KA==/com.***********-vCf0I5h7JYsGYkztTft_xw==/lib/arm64/libflutter.so (BuildId: c8945aa29907615063302b1a9abd6fe0b22cf5c4)
#15 pc 000000000152d4e8 /data/app/~~Yxt1RlUhb2TcUDQsvuT9KA==/com.***********-vCf0I5h7JYsGYkztTft_xw==/lib/arm64/libflutter.so (BuildId: c8945aa29907615063302b1a9abd6fe0b22cf5c4)
#16 pc 0000000001531394 /data/app/~~Yxt1RlUhb2TcUDQsvuT9KA==/com.***********-vCf0I5h7JYsGYkztTft_xw==/lib/arm64/libflutter.so (BuildId: c8945aa29907615063302b1a9abd6fe0b22cf5c4)
#17 pc 00000000000b0838 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 47654091281bdd4362effe3ca962c8df)
#18 pc 00000000000505d0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 47654091281bdd4362effe3ca962c8df)
Lost connection to device.`
i'm also getting same error with version 4.4.1 [firebase_auth/invalid-credential] The supplied auth credential is malformed or has expired. [ Invalid access_token, error code 43 ] . my android vesrion is Android v14.1.0
whats your firebase_auth version ? And another thing, try adding this in your pubspec.yaml
dependency_overrides: firebase_core_platform_interface: 4.2.5
firebase_auth: ^3.3.5
I'm getting SERVER_ERROR: [code] 1675030 [message]: Error performing query. [extra]: meta developer
Any luck? facing the same issue.
no not yet.. i'm not sure whether this si the issue from facebook sdk or with. package
We experienced the same issue and temporarily downgraded to version flutter_facebook_auth: ^4.4.1+1
.
We experienced the same issue and temporarily downgraded to version
flutter_facebook_auth: ^4.4.1+1
.
did it work so far?
@ghifariakbar01 it works, but we're still waiting for Meta's new round of reviews.
@ghifariakbar01 it works, but we're still waiting for Meta's new round of reviews.
wish you best of luck. We're about to submit another facebook app after prior removal from facebook.
We experienced the same issue and temporarily downgraded to version
flutter_facebook_auth: ^4.4.1+1
.
Yes we did the same although it solved the issue but on some devices it crashes the app
We also received the same update from meta. @BunnyBuddy did anything resolved the issue?
We also received the same update from meta. @BunnyBuddy did anything resolved the issue?
Downgrading to 4.4.1+1 or upgrading resolves the issue for the time being. I couldn't upgrade it because it broke the App on Intel based Mac (mid 2015) due to some issue with the libraries, I did find some workarounds for that too but I think its better to wait for a better or a stable release.
What version are you using?
flutter_facebook_auth:^3.5.2
What OS and version are you using to local deploy your application?
macOS Monterey Version 12.6.3
What platforms are you seeing the problem on?
Android
pubspec.yaml
Describe the Bug
We have a marketplace app on Playstore as well as Appstore and it was working fine but a few weeks ago we saw a rise in crashes on playstore and then 2 days ago we got an email from Facebook devs which stated as follows (we also tried to reproduce the problem but it works fine on our devices android, iphone, simulator),
Hi,
In order to keep the Meta platform and community safe, we periodically review apps for compliance. We need the following information/action from you on your app, (app name here) Apps (AppId: ***), in order to approve your app’s continued operation on our platform.
Platforms affected: Android.
Developer Policy 6.1: Verify that you have integrated Login correctly. Your app shouldn't crash or hang during the testing process.
During Login, your app is crashing or hanging excessively, creating a broken experience for people trying to use your app. To make sure this flow runs smoothly, check that you've integrated Facebook Login correctly. We recommend that you test Login on all integrations. If you have not already done so, please:
• Here's our quickstart guide for implementing Facebook Login for Android: https://urldefense.proofpoint.com/v2/url?u=https-3A__developers.facebook.com_docs_facebook-2Dlogin_android&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=jXV6E5g3vj8-wl8ry66KEcxbCRCR2tzWnEC5ECG8HUQ&m=o5v5jX4-6ViiW7w9yGMX_UDdcQ3xAbEL-KB-NHvNVMk&s=BT51WiCNKsGTqc6-R9_QPsodMiBYXmUgauwbl9WUv-0&e= • We encourage you to test your Login integration following these steps here: https://urldefense.proofpoint.com/v2/url?u=https-3A__developers.facebook.com_docs_facebook-2Dlogin_testing-2Dyour-2Dlogin-2Dflow_&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=jXV6E5g3vj8-wl8ry66KEcxbCRCR2tzWnEC5ECG8HUQ&m=o5v5jX4-6ViiW7w9yGMX_UDdcQ3xAbEL-KB-NHvNVMk&s=repKnHooOaayaEusd1czyytm2TBoduY0lTXzZ7E9U-I&e= • Best Practices for Login can be found here: https://urldefense.proofpoint.com/v2/url?u=https-3A__developers.facebook.com_docs_facebook-2Dlogin_best-2Dpractices&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=jXV6E5g3vj8-wl8ry66KEcxbCRCR2tzWnEC5ECG8HUQ&m=o5v5jX4-6ViiW7w9yGMX_UDdcQ3xAbEL-KB-NHvNVMk&s=3ZJ-XGX_uXwMaTkpUBjGv97uFX1vVNATByxqX8SgO_M&e=
Please reply to this email with the requested information/change request before 2023-03-06 03:00:00 PST.
You can request up to two extensions if you need additional time to gather information.
Follow this link to securely submit any requested credentials: https://urldefense.proofpoint.com/v2/url?u=https-3A__developers.facebook.com_apps_917887418904610_re-2Dreview_&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=jXV6E5g3vj8-wl8ry66KEcxbCRCR2tzWnEC5ECG8HUQ&m=o5v5jX4-6ViiW7w9yGMX_UDdcQ3xAbEL-KB-NHvNVMk&s=HmM5_eEhE7kMRr0l-dlLx9G7sMKAlkqHz5ljqdu6ih8&e=
To ensure that we receive your response:
If we do not receive a response from you, your app will be subject to enforcement.
Thank you for your cooperation in our continued efforts to keep our platform safe,
Meta Developer Operations Team
Expected Behavior
A few weeks ago it was working fine. I don't know what happened or what changed on facebook that lead to this issue, kindly let me know of a possible solution or way around this. Thankyou.
To Reproduce
This is the function that's being called upon login or signup with Facebook.
Future signInWithFacebook() async { Map<String, dynamic> _userData; AccessToken _accessToken; // loginBehavior is only supported for Android devices, for ios it will be ignored final result = await FacebookAuth.instance.login( loginBehavior: LoginBehavior.dialogOnly, // (only android) show an authentication dialog instead of redirecting to facebook app ); switch (result.status) { case LoginStatus.success: _accessToken = result.accessToken; final userData = await FacebookAuth.instance.getUserData();
}
Relevant log output
No response
flutter doctor -v
Info.plist (iOS)
No response
Podfile (iOS)
No response
AndroidManifest.xml
MainActivity.java
No response
MainActivity.kt
No response
index.html
No response
Info.plist (macOS)
No response