Xamarin.RevenueCat.iOS.Extensions 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.Extensions --version 3.5.3.6
NuGet\Install-Package Xamarin.RevenueCat.iOS.Extensions -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.Extensions" 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.Extensions --version 3.5.3.6
#r "nuget: Xamarin.RevenueCat.iOS.Extensions, 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.Extensions as a Cake Addin
#addin nuget:?package=Xamarin.RevenueCat.iOS.Extensions&version=3.5.3.6

// Install Xamarin.RevenueCat.iOS.Extensions as a Cake Tool
#tool nuget:?package=Xamarin.RevenueCat.iOS.Extensions&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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.39.0.9 1,058 4/17/2024
4.39.0.8 88 4/4/2024
4.39.0.7 87 4/4/2024
4.39.0.6 83 4/4/2024
4.39.0.5 82 4/4/2024
4.39.0.4 83 4/4/2024
4.39.0.3 87 4/3/2024
4.30.0.2 924 11/9/2023
4.9.0.4 8,036 10/27/2022
4.9.0.3 403 10/17/2022
4.9.0.2 1,476 7/21/2022
4.1.0.7 1,524 4/5/2022
4.1.0.5 6,452 3/30/2022
4.1.0.4 433 3/30/2022
3.5.3.10 10,284 11/9/2020
3.5.3.9 441 11/9/2020
3.5.3.8 832 11/3/2020
3.5.3.6 955 10/21/2020