Xamarin.iOS Bindings for RevenueCat (Website, Setup Instructions).
This repository is not going to support newer versions of the RevenueCat SDK. For newer versions of the SDK, and support for .NET 8 iOS (MAUI), please see https://github.com/thisisthekap/Tonestro.Maui.RevenueCat.iOS.
The actual bindings.
https://www.nuget.org/packages/Xamarin.RevenueCat.iOS/
Contains extension methods for Xamarin.RevenueCat.iOS
adding e.g. async/await convenience methods.
https://www.nuget.org/packages/Xamarin.RevenueCat.iOS.Extensions/
The versioning scheme of Xamarin.RevenueCat.iOS
is derived from the versioning of revenuecat/purchases-ios
.
revenuecat/purchases-ios | Xamarin.RevenueCat.iOS | Note |
---|---|---|
3.4.1 | 3.4.1.1 | First version of bindings for 3.4.1 |
3.4.1 | 3.4.1.17 | Bindings for 3.4.1 containing fixes |
If initialization crashes and you get errors like [RCPurchases configureSubscriberAttributesManager]: unrecognized selector sent to instance
, please adapt your project configuration:
Add -gcc_flags "-ObjC"
to the MtouchExtraArgs
XML element of your project file. If you want to do the config change using the UI Editor, the change is given below:
Please see this issue for more details.
@BillFulton created a repository with sample code using this binding. Thanks for that!
The repository with the sample code is available here.
The license for this repository is specified in LICENSE.txt