Skip to content

thisisthekap/Xamarin.RevenueCat.iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xamarin.RevenueCat.iOS

Xamarin.iOS Bindings for RevenueCat (Website, Setup Instructions).

About this Repository

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.

NuGet Feed

Xamarin.RevenueCat.iOS

The actual bindings.

https://www.nuget.org/packages/Xamarin.RevenueCat.iOS/

Xamarin.RevenueCat.iOS.Extensions

Contains extension methods for Xamarin.RevenueCat.iOS adding e.g. async/await convenience methods.

https://www.nuget.org/packages/Xamarin.RevenueCat.iOS.Extensions/

Versioning Scheme

The versioning scheme of Xamarin.RevenueCat.iOS is derived from the versioning of revenuecat/purchases-ios.

Example:

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

Troubleshooting

unrecognized selector sent to instance

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:

troubleshooting-unrecognized-selector

Please see this issue for more details.

Sample Code

@BillFulton created a repository with sample code using this binding. Thanks for that!

The repository with the sample code is available here.

License

The license for this repository is specified in LICENSE.txt