Hey,
I am currently integrating the Facebook SDK with RevenueCat in my project and have followed the instructions as per documentation. I recently updated to the latest version of the Facebook SDK using the package manager. However, I encountered an issue while setting up the Facebook anonymous ID.
Here is the snippet of the code I'm using:
Purchases.shared.attribution.collectDeviceIdentifiers()
Purchases.shared.attribution.setFBAnonymousID(FBSDKCoreKit.AppEvents.anonymousID)
The compiler throws the following error:
"Instance member 'anonymousID' cannot be used on type 'AppEvents'; did you mean to use a value of this type instead?"
I'm wondering if there have been any changes in the SDK or RevenueCat's integration process that I might have missed. Could you please provide some guidance on how to resolve this error or suggest an alternative way to correctly implement this functionality?
Regards