xamarin / FacebookComponents

MIT License
86 stars 69 forks source link

Does anyone have a clue how to update these bindings to latest versions? #265

Open czmirek opened 6 months ago

czmirek commented 6 months ago

I've browsed existing forks but it doesn't seem anyone has been successful.

I found some other NuGets but neither are open-source and I'm nervous of including some DLL that is potentially mining bitcoin in background or some other nasty stuff.

I just need an updated facebook-login library because this repo is pretty far behind already. So I created a new solution and I'm attempting to include all dependencies for facebook login. Is this the right approach? Can someone please just help me with the issues I have with trying to do the bindings myself?

The method '[Method] android.animation.Animator.AnimatorListener addListener$default(android.animation.Animator obj, kotlin.jvm.functions.Function1 onEnd, kotlin.jvm.functions.Function1 onStart, kotlin.jvm.functions.Function1 onCancel, kotlin.jvm.functions.Function1 onRepeat, int p5, java.lang.Object p6)' was removed because its name contains a dollar sign.

So I open the decompiler for Java JD-GUI and open the AAR ... but I cannot find any method called addListener$default. I know that in this step I should write the XML transformation somehow... but I'm completely failing even on identifying what I am supposed to write the transformation for.

So for any binding gurus, I'd appreciate any advice or hint to go the right direction.

image
thisisthekap commented 6 months ago

@czmirek If you just need login, you could give https://github.com/thisisthekap/Xamarin.FacebookSlim.Droid a try.

mhdwaelanjo commented 5 months ago

We can use this library now Facebook Audience Network SDK for .NET for Android

` Anjo.Android.Facebook.AudienceNetwork (>= 6.16.0)

`

fourad commented 4 months ago

We can use this library now Facebook Audience Network SDK for .NET for Android

` Anjo.Android.Facebook.AudienceNetwork (>= 6.16.0)

`

anjo can you plz write a tutorial on how you did bind all those libraries and can you bind the chartboost sdk?

mhdwaelanjo commented 4 months ago

We can use this library now Facebook Audience Network SDK for .NET for Android [Anjo.Android.Facebook.AudienceNetwork](https://www.nuget.org/packages/Anjo.Android.Facebook.AudienceNetwork/) (>= 6.16.0)

anjo can you plz write a tutorial on how you did bind all those libraries and can you bind the chartboost sdk?

you can read the file readme:

Samples Android Facebook Audience Network SDK: https://github.com/fbsamples/audience-network/tree/main/samples/android

mhdwaelanjo commented 4 months ago

We can use this library now Facebook Audience Network SDK for .NET for Android [Anjo.Android.Facebook.AudienceNetwork](https://www.nuget.org/packages/Anjo.Android.Facebook.AudienceNetwork/) (>= 6.16.0)

anjo can you plz write a tutorial on how you did bind all those libraries and can you bind the chartboost sdk?

We can use this library now Chartboost SDK for .NET for Android

` Anjo.Android.ChartBoost (>= 9.2.1)

`

fourad commented 4 months ago

We can use this library now Facebook Audience Network SDK for .NET for Android [Anjo.Android.Facebook.AudienceNetwork](https://www.nuget.org/packages/Anjo.Android.Facebook.AudienceNetwork/) (>= 6.16.0)

anjo can you plz write a tutorial on how you did bind all those libraries and can you bind the chartboost sdk?

We can use this library now Chartboost SDK for .NET for Android

` Anjo.Android.ChartBoost (>= 9.2.1)

`

i am asking you how you did the binding of the native sdk????, i tried the android binding library project method and i could not get it to compile

fourad commented 4 months ago

We can use this library now Facebook Audience Network SDK for .NET for Android [Anjo.Android.Facebook.AudienceNetwork](https://www.nuget.org/packages/Anjo.Android.Facebook.AudienceNetwork/) (>= 6.16.0)

anjo can you plz write a tutorial on how you did bind all those libraries and can you bind the chartboost sdk?

We can use this library now Chartboost SDK for .NET for Android

` Anjo.Android.ChartBoost (>= 9.2.1)

`

and can you publish the projects source code here ??

mhdwaelanjo commented 4 months ago

@fourad you can read readme file

Samples Android Chartboost SDK: https://github.com/ChartBoost/android-sdk-sample-java

tentom commented 4 months ago

you can read readme file

Samples Android Chartboost SDK: https://github.com/ChartBoost/android-sdk-sample-java

@mhdwaelanjo The GitHub repo mentioned in the readme file is not publicly available: https://github.com/mhdwaelanjo/Anjo.Android.ChartBoost, if that is the binding project with more information on how you did the bindings.