Xamarin.RevenueCat.iOS 3.5.3.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package Xamarin.RevenueCat.iOS --version 3.5.3.6                
NuGet\Install-Package Xamarin.RevenueCat.iOS -Version 3.5.3.6                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xamarin.RevenueCat.iOS" Version="3.5.3.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.RevenueCat.iOS --version 3.5.3.6                
#r "nuget: Xamarin.RevenueCat.iOS, 3.5.3.6"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xamarin.RevenueCat.iOS as a Cake Addin
#addin nuget:?package=Xamarin.RevenueCat.iOS&version=3.5.3.6

// Install Xamarin.RevenueCat.iOS as a Cake Tool
#tool nuget:?package=Xamarin.RevenueCat.iOS&version=3.5.3.6                

Xamarin.RevenueCat.iOS

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

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

How to bind new version

This section explains how to create resp. adapt the bindings to bind to a newer version of RevenueCat for iOS.

Build static library

  1. cd sharpie
  2. Set the desired version of RevenueCat for iOS in revenuecat-version.txt
  3. Execute ./prepare-library-build.sh
  4. Right click "Purchases" to add files:
    • howto-1
  5. Select everything in the "Purchases" folder, and make sure that the settings are configured as described:
    • howto-2
  6. Press "Add"
  7. Close XCode
  8. Execute ./finish-library-build.sh

After these steps, a new static library was built and moved to Xamarin.RevenueCat.iOS/nativelib/libPurchases.a. This file is referenced as NativeReference in Xamarin.RevenueCat.iOS.csproj.

Create C# Bindings using Objective Sharpie

This section describes how to create ApiBindings.cs and StructsAndEnums.cs.

  1. cd sharpie
  2. Set the desired version of RevenueCat for iOS in revenuecat-version.txt
  3. Execute ./create-sharpie-files.sh
  4. Copy ApiBindings.cs and StructsAndEnums.cs to ../Xamarin.RevenueCat.iOS
Tip when updating to newer version of revenuecat/purchases-ios

To find out which API changes were made between two versions of revenuecat/purchases-ios, you could execute sharpie twice:

  1. Execute steps 1 to 3 from the steps above
    • Do not change the version of revenuecat/purchases-ios in revenuecat-version.txt
  2. Execute mv ApiBindings.cs ApiBindings_old.cs
  3. Execute mv StructsAndEnums.cs StructsAndEnums_old.cs
  4. Change the version of revenuecat/purchases-ios in revenuecat-version.txt
  5. Execute ./create-sharpie-files.sh

Now you can use diff or your favorite diff tool to detect the changes between both versions.

License

The license for this repository is specified in LICENSE.txt

Product Compatible and additional computed target framework versions.
Xamarin.iOS xamarinios10 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Xamarin.RevenueCat.iOS:

Package Downloads
Xamarin.RevenueCat.iOS.Extensions

Contains convenience methods and async extensions for Xamarin.RevenueCat.iOS

Xamarin.RevenueCatUI.iOS

Contains bindings for https://docs.revenuecat.com/docs/ios

Xamarin.RevenueCatUI.iOS.Extensions

Contains bindings for https://docs.revenuecat.com/docs/ios

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.39.0.9 2,223 4/17/2024
4.39.0.8 113 4/4/2024
4.39.0.7 107 4/4/2024
4.39.0.6 109 4/4/2024
4.39.0.5 106 4/4/2024
4.39.0.4 103 4/4/2024
4.39.0.3 101 4/3/2024
4.30.0.2 2,157 11/9/2023
4.9.0.2 12,824 7/21/2022
4.1.0.5 3,792 3/30/2022
3.5.3.10 10,299 11/9/2020
3.5.3.9 449 11/9/2020
3.5.3.8 823 11/3/2020
3.5.3.6 949 10/21/2020