-
Notifications
You must be signed in to change notification settings - Fork 72
Update Facebook for iOS SDK to version 14.0 #242
Comments
I also ask @SotoiGhost and @rmarinho if the project is abandoned, since it's been behind the official SDK for a few months. |
I attempted to update this to get events working with iOS 15.5, but I don't really know what I am doing (frankly). My fork will build the nuget packages and samples with the 14.1.0 Facebook SDKs, and everything looks correct to me, but not everything works... You can see my implementation here: https://github.com/kevin-hine-innis/Xamarin.Facebook.IOS.CoreKit-SDK-14.1.0-Fail If you know Objective-C and are interested in helping me / the rest of us, please consider updating the API definitions. Maybe @SotoiGhost would be willing to help if he sees enough community effort to update this? I simply have no experience with the Facebook SDKs and very little experience with Objective-C, so I'm pretty useless here. |
I'm also waiting for a new version of the bindings supporting Facebook SDK version 14!!! |
This is a critical thing! waiting for an update as well... Is there any ETA? |
Any news? |
Any updates? 😢 |
Hi everybody,,, Any news about this update ? I am trying to install 12.2.X version of Xamarin.Faceboo.iOS But I am getting dependency errors... If I install all the dependencies first, I cant install the main library. I am getting this error:
Facebook/Meta is forcing us to update our app, to send user informations in a hash format, and to implement a hash logic, I need to reference the class FBSDKAppEvents But up to 9.0.1.5 version, this class doesnt exists. So, If I try to update to 12.2.X, I came into this situation... Error trying to update library to the last version OR a class missing in the version which I can install without error (9.0.1.5) !!! We have an urgent demand to update our app, cause Facebook/Meta is obliging us to hash the user data, before send. Please, anyone has a position about it ? |
Hello @kevin-hine-innis, have you found any alternative? |
I have heard nothing more and I have not had time to revisit this. If someone could test my fork on iOS 15+ I would be willing to try updating the API definitions. Then I would feel confident making a pull request, or even releasing an unofficial nuget build. |
As long as the pipeline is still private no one will pick up this project to update or fix this. |
I'm having problem to use:
Error CS1061: 'LoginButton' does not contain a definition for 'Completed' and no accessible extension method 'Completed' accepting a first argument of type 'LoginButton' could be found (are you missing a using directive or an assembly reference?) (CS1061) |
Here's how you can use the latest Facebook SDK for iOS to track installs without having to depend on someone to update this Nuget package:
|
@dtaylorus Thanks a lot for the tip, since I had the chance to use the code but i didn't work. I would like to know if you can give us more tips to get it work, in my case I made an attempt you can find it here: if you have the chance to look at it would be the best, thanks regards. |
I created a sample project at https://github.com/hotchaipro/HotChai.Bindings. You will need to following the Getting Started instructions at https://developers.facebook.com/docs/ios/getting-started/ to configure the sample project with a Facebook App ID and client token in order to make the sample work. |
@dtaylorus It's interesting that we can actually set and use xcframeworks inside iOS projects, the example you shared works wonderful with all instructions taken but I am concerned that is being set up on net 7.0. Since I am using the old way xamarin.iOS I tried to make it work, but the only problem I encounter is that it crashes on the start up due to a no reference of a instance object, in case you can share more time you could check my example : https://github.com/Luisalvarenga/FacebookSDKTestXamarin- |
@Luisalvarenga Yes, you can use xcframeworks without a separate binding project. You're missing the xcframeworks in your linked project, though. You need to add the NativeDependencies folder containing the xcframeworks to your project. As a side note for how I obtained the binding files, when you build a binding project you can inspect the obj folder to find the actual C# bindings generated by the build process. You can also just copy the disassembled source code by installing an older version of the Nuget and inspecting the assembly since the bindings don't change very often and work just fine with newer frameworks. I simply copied these files into my project so I could use the xcframeworks directly and get the latest native releases. You can still create a separate binding project if you like, but it seems like unnecessary overhead to me. And in my opinion it's much easier to fix up the actual C# binding code if it's generated incorrectly than it is to try to apply XML transforms to the obscure intermediate binding language as recommended in binding projects. If you can, I do recommend you move to .NET 6+ since a lot of Nuget packages being actively maintained are moving forward and not providing backward compatible Xamarin.iOS versions. Good luck! |
Has anyone found a solution for the "Error Could not find a part of the path" error. ? |
Thank you for your tips! Since more than two years passed, is there a chance you show us the ApiDefinition classes for other libraries (LoginKit, ShareKit, etc) targeting Xamarin.iOS? |
Since the release of the most recent version of the Facebook iOS SDK, it's impossible to track install events for iOS 14 or higher on Facebook's platform.
Please update this ASAP.
The text was updated successfully, but these errors were encountered: