thisisthekap / Xamarin.RevenueCat.iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 7 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

About

License:MIT License


Languages

Language:Objective-C 75.2%Language:C# 24.1%Language:Shell 0.4%Language:Swift 0.2%Language:Ruby 0.1%