FacebookComponents icon indicating copy to clipboard operation
FacebookComponents copied to clipboard

Xamarin.Facebook.Android not updated for Android 12?

Open sutharsan025 opened this issue 3 years ago • 13 comments

App getting crash only on Android 12 .

It basically has the Xamarin.Facebook.Android library and I've noticed it is not updated to the last version available (the one that would fix the issue with Android 12 which makes the app crash when you complete the login process, because it misses important flags, MUTABLE and IMMUTABLE, necessary to use the SDK with Android 12+). So I was wondering if there is any way to fix this problem and update the library, since the last stable version is the 11.2.0.1 which was released 1 year ago.

Thank you

sutharsan025 avatar Dec 12 '22 06:12 sutharsan025

Same problem, last stable build was a year ago. There's 2 pending MR waiting review...

alexis-coulombe avatar Dec 12 '22 16:12 alexis-coulombe

Hi @moljac @SotoiGhost @Redth @rmarinho,

Would you be able to update this component?

Many thanks! 🙏

AntRemo avatar Dec 17 '22 23:12 AntRemo

bump

Rudnicky avatar Dec 28 '22 14:12 Rudnicky

Hello guys. Any news? The last update was one year ago.

kasiakoun avatar Jan 05 '23 08:01 kasiakoun

Any news?

subbotted avatar Jan 11 '23 15:01 subbotted

Any news? Still getting "Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent" on new android devices!

lucapan avatar Jan 23 '23 10:01 lucapan

If you only use Facebook Login... i fixed with the workaround posted here:

https://learn.microsoft.com/en-us/answers/questions/1074107/xamarin-facebook-login-android-not-working-for-and

lucapan avatar Jan 23 '23 10:01 lucapan

Do we have any plan to upgrade this binding into Facebook SDK 14.x ? because version 13.x is having a problem with AndroidX.Activity > 1.5.0 right now

So the workaround is not working if the project have a dependency with AndroidX.Activity > 1.5.0

https://github.com/facebook/facebook-android-sdk/issues/1100

unamed000 avatar Feb 11 '23 09:02 unamed000

We created a slim binding some time ago: https://github.com/thisisthekap/Xamarin.FacebookSlim.Droid

This covers basic login and permission request features. If additional features are needed: PRs are welcome :)

thisisthekap avatar Feb 13 '23 09:02 thisisthekap

@thisisthekap the problem is most of the time iOS is needed too.

mos379 avatar Feb 13 '23 11:02 mos379

@mos379 We created a slim binding for that at https://github.com/thisisthekap/Xamarin.FacebookSlim.iOS

I hope I find the time to create a CI/CD to publish it to nuget.org within the next few days.

thisisthekap avatar Feb 13 '23 11:02 thisisthekap

Is there any update in this?

ankitapatelNew avatar Feb 23 '23 06:02 ankitapatelNew