Skip to content

Commit

Permalink
Merge pull request #2 from albilaga/update_to_4_22_0
Browse files Browse the repository at this point in the history
Update to 4 22 0
  • Loading branch information
thisisthekap authored Sep 1, 2023
2 parents d726946 + a06d3a8 commit cd87be4
Show file tree
Hide file tree
Showing 19 changed files with 118,964 additions and 3,449 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static Task<LoginResult> LoginAsync(this RCPurchases purchases, string ap
{
var tcs = new TaskCompletionSource<LoginResult>();
cancellationToken.Register(() => tcs.TrySetCanceled());
purchases.LogIn(appUserId, (customerInfo, created, error) =>
purchases.LogInWithCompletion(appUserId, (customerInfo, created, error) =>
{
if (error != null)
{
Expand Down
470 changes: 414 additions & 56 deletions Tonestro.Maui.RevenueCat.iOS/ApiDefinition.cs

Large diffs are not rendered by default.

21 changes: 20 additions & 1 deletion Tonestro.Maui.RevenueCat.iOS/StructsAndEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public enum RCAttributionNetwork : long
Tenjin = 4,
Facebook = 5,
MParticle = 6,
AdServices = 7
}

[Native]
Expand All @@ -23,6 +24,14 @@ public enum RCCacheFetchPolicy : long
NotStaleCachedOrFetched = 2,
CachedOrFetched = 3,
}

[Native]
public enum RCEntitlementVerificationMode : long
{
Disabled = 0,
Informational = 1,
Enforced = 2
}

[Native]
public enum RCPurchasesErrorCode : long
Expand Down Expand Up @@ -180,4 +189,14 @@ public enum RCSubscriptionPeriodUnit : long
Month = 2,
Year = 3,
}
}


[Native]
public enum RCVerificationResult : long
{
NotRequested = 0,
Verified = 1,
VerifiedOnDevice = 3,
Failed = 2
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>Tonestro.Maui.RevenueCat.iOS</PackageId>
<Version>4.9.0.6</Version>
<Version>4.22.0.0</Version>
<Description>Contains bindings for https://docs.revenuecat.com/docs/ios</Description>
<Authors>Christian Kapplmüller</Authors>
<Company>fun.music IT GmbH</Company>
Expand Down
Loading

0 comments on commit cd87be4

Please sign in to comment.