From 5237c635dc2c9f0a0df16473d16c02b09fa6aca3 Mon Sep 17 00:00:00 2001 From: albilaga Date: Thu, 9 Nov 2023 18:57:37 +0700 Subject: [PATCH] Remove With Completion Name --- .../Xamarin.RevenueCat.iOS.Extensions.csproj | 2 +- Xamarin.RevenueCat.iOS/ApiDefinitions.cs | 27 +++++++++---------- .../Xamarin.RevenueCat.iOS.csproj | 2 +- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/Xamarin.RevenueCat.iOS.Extensions/Xamarin.RevenueCat.iOS.Extensions.csproj b/Xamarin.RevenueCat.iOS.Extensions/Xamarin.RevenueCat.iOS.Extensions.csproj index 2269988..52bbb40 100644 --- a/Xamarin.RevenueCat.iOS.Extensions/Xamarin.RevenueCat.iOS.Extensions.csproj +++ b/Xamarin.RevenueCat.iOS.Extensions/Xamarin.RevenueCat.iOS.Extensions.csproj @@ -4,7 +4,7 @@ true Xamarin.RevenueCat.iOS.Extensions Contains convenience methods and async extensions for Xamarin.RevenueCat.iOS - 4.30.0.2 + 4.30.0.3 Christian Kapplmüller, Albilaga fun.music IT GmbH nugetoutput diff --git a/Xamarin.RevenueCat.iOS/ApiDefinitions.cs b/Xamarin.RevenueCat.iOS/ApiDefinitions.cs index 5cc6bc3..ff6074e 100644 --- a/Xamarin.RevenueCat.iOS/ApiDefinitions.cs +++ b/Xamarin.RevenueCat.iOS/ApiDefinitions.cs @@ -716,7 +716,7 @@ void CustomerInfoWithFetchPolicy(RCCacheFetchPolicy fetchPolicy, // @required -(void)getOfferingsWithCompletion:(void (^ _Nonnull)(RCOfferings * _Nullable, NSError * _Nullable))completion; [Export("getOfferingsWithCompletion:")] - void GetOfferingsWithCompletion(Action completion); + void GetOfferings(Action completion); // @required -(void)offeringsWithCompletionHandler:(void (^ _Nonnull)(RCOfferings * _Nullable, NSError * _Nullable))completionHandler __attribute__((availability(watchos, introduced=6.2))) __attribute__((availability(tvos, introduced=13.0))) __attribute__((availability(macos, introduced=10.15))) __attribute__((availability(ios, introduced=13.0))); [Export("offeringsWithCompletionHandler:")] @@ -761,7 +761,7 @@ void PurchaseWithPackage(RCPackage package, // @required -(void)restorePurchasesWithCompletion:(void (^ _Nullable)(RCCustomerInfo * _Nullable, NSError * _Nullable))completion; [Export("restorePurchasesWithCompletion:")] - void RestorePurchasesWithCompletion([NullAllowed] Action completion); + void RestorePurchases([NullAllowed] Action completion); // @required -(void)restorePurchasesWithCompletionHandler:(void (^ _Nonnull)(RCCustomerInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((availability(watchos, introduced=6.2))) __attribute__((availability(tvos, introduced=13.0))) __attribute__((availability(macos, introduced=10.15))) __attribute__((availability(ios, introduced=13.0))); [Export("restorePurchasesWithCompletionHandler:")] @@ -769,7 +769,7 @@ void PurchaseWithPackage(RCPackage package, // @required -(void)syncPurchasesWithCompletion:(void (^ _Nullable)(RCCustomerInfo * _Nullable, NSError * _Nullable))completion; [Export("syncPurchasesWithCompletion:")] - void SyncPurchasesWithCompletion([NullAllowed] Action completion); + void SyncPurchases([NullAllowed] Action completion); // @required -(void)syncPurchasesWithCompletionHandler:(void (^ _Nonnull)(RCCustomerInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((availability(watchos, introduced=6.2))) __attribute__((availability(tvos, introduced=13.0))) __attribute__((availability(macos, introduced=10.15))) __attribute__((availability(ios, introduced=13.0))); [Export("syncPurchasesWithCompletionHandler:")] @@ -843,7 +843,7 @@ void BeginRefundRequestForEntitlement(string entitlementID, // @required -(void)beginRefundRequestForActiveEntitlementWithCompletion:(void (^ _Nonnull)(enum RCRefundRequestStatus, NSError * _Nullable))completionHandler __attribute__((availability(tvos, unavailable))) __attribute__((availability(watchos, unavailable))) __attribute__((availability(macos, unavailable))) __attribute__((availability(ios, introduced=15.0))); [Export("beginRefundRequestForActiveEntitlementWithCompletion:")] - void BeginRefundRequestForActiveEntitlementWithCompletion( + void BeginRefundRequestForActiveEntitlement( Action completionHandler); // @required -(void)presentCodeRedemptionSheet __attribute__((availability(maccatalyst, unavailable))) __attribute__((availability(macos, unavailable))) __attribute__((availability(tvos, unavailable))) __attribute__((availability(watchos, unavailable))) __attribute__((availability(ios, introduced=14.0))); @@ -856,7 +856,7 @@ void BeginRefundRequestForActiveEntitlementWithCompletion( // @required -(void)showManageSubscriptionsWithCompletion:(void (^ _Nonnull)(NSError * _Nullable))completion __attribute__((availability(macos, introduced=10.15))) __attribute__((availability(ios, introduced=13.0))) __attribute__((availability(tvos, unavailable))) __attribute__((availability(watchos, unavailable))); [Export("showManageSubscriptionsWithCompletion:")] - void ShowManageSubscriptionsWithCompletion(Action completion); + void ShowManageSubscriptions(Action completion); // @required -(void)showManageSubscriptionsWithCompletionHandler:(void (^ _Nonnull)(NSError * _Nullable))completionHandler __attribute__((availability(macos, introduced=10.15))) __attribute__((availability(ios, introduced=13.0))) __attribute__((availability(tvos, unavailable))) __attribute__((availability(watchos, unavailable))); [Export("showManageSubscriptionsWithCompletionHandler:")] @@ -1163,7 +1163,7 @@ void PurchaseWithPackage(RCPackage package, // -(void)syncPurchasesWithCompletion:(void (^ _Nullable)(RCCustomerInfo * _Nullable, NSError * _Nullable))completion; [Export("syncPurchasesWithCompletion:")] - void SyncPurchasesWithCompletion([NullAllowed] Action completion); + void SyncPurchases([NullAllowed] Action completion); // -(void)syncPurchasesWithCompletionHandler:(void (^ _Nonnull)(RCCustomerInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((availability(watchos, introduced=6.2))) __attribute__((availability(tvos, introduced=13.0))) __attribute__((availability(macos, introduced=10.15))) __attribute__((availability(ios, introduced=13.0))); [Export("syncPurchasesWithCompletionHandler:")] @@ -1234,7 +1234,7 @@ void EligiblePromotionalOffersForProduct(RCStoreProduct product, // -(void)showManageSubscriptionsWithCompletion:(void (^ _Nonnull)(NSError * _Nullable))completion __attribute__((availability(macos, introduced=10.15))) __attribute__((availability(ios, introduced=13.0))) __attribute__((availability(tvos, unavailable))) __attribute__((availability(watchos, unavailable))); [Export("showManageSubscriptionsWithCompletion:")] - void ShowManageSubscriptionsWithCompletion(Action completion); + void ShowManageSubscriptions(Action completion); // -(void)showManageSubscriptionsWithCompletionHandler:(void (^ _Nonnull)(NSError * _Nullable))completionHandler __attribute__((availability(macos, introduced=10.15))) __attribute__((availability(ios, introduced=13.0))) __attribute__((availability(tvos, unavailable))) __attribute__((availability(watchos, unavailable))); [Export("showManageSubscriptionsWithCompletionHandler:")] @@ -1251,7 +1251,7 @@ void BeginRefundRequestForEntitlement(string entitlementID, // -(void)beginRefundRequestForActiveEntitlementWithCompletion:(void (^ _Nonnull)(enum RCRefundRequestStatus, NSError * _Nullable))completionHandler __attribute__((availability(tvos, unavailable))) __attribute__((availability(watchos, unavailable))) __attribute__((availability(macos, unavailable))) __attribute__((availability(ios, introduced=15.0))); [Export("beginRefundRequestForActiveEntitlementWithCompletion:")] - void BeginRefundRequestForActiveEntitlementWithCompletion( + void BeginRefundRequestForActiveEntitlement( Action completionHandler); // @property (nonatomic, strong, class) RCPlatformInfo * _Nullable platformInfo; @@ -1277,10 +1277,9 @@ interface RCPlatformInfo interface IPurchasesOrchestratorDelegate { // -(void)readyForPromotedProduct:(RCStoreProduct * _Nonnull)product purchase:(void (^ _Nonnull)(void (^ _Nonnull)(RCStoreTransaction * _Nullable, RCCustomerInfo * _Nullable, NSError * _Nullable, BOOL)))startPurchase; - [Abstract] - [Export("readyForPromotedProduct:purchase:")] - void ReadyForPromotedProduct(RCStoreProduct product, - Action startPurchase); + [Abstract] + [Export("readyForPromotedProduct:purchase:")] + void ReadyForPromotedProduct(RCStoreProduct product, Action startPurchase); // @property (readonly, nonatomic) BOOL shouldShowPriceConsent __attribute__((availability(maccatalyst, introduced=13.4))) __attribute__((availability(ios, introduced=13.4))); [Abstract] @@ -1315,11 +1314,11 @@ interface RCPurchasesDiagnostics // @property (readonly, getter = default, nonatomic, strong, class) RCPurchasesDiagnostics * _Nonnull default_; [Static] [Export("default_", ArgumentSemantic.Strong)] - RCPurchasesDiagnostics Default_ { [Bind("default")] get; } + RCPurchasesDiagnostics Default { [Bind("default")] get; } // -(void)testSDKHealthWithCompletion:(void (^ _Nonnull)(NSError * _Nullable))completionHandler; [Export("testSDKHealthWithCompletion:")] - void TestSDKHealthWithCompletion(Action completionHandler); + void TestSDKHealth(Action completionHandler); } // @interface RCStoreProduct : NSObject diff --git a/Xamarin.RevenueCat.iOS/Xamarin.RevenueCat.iOS.csproj b/Xamarin.RevenueCat.iOS/Xamarin.RevenueCat.iOS.csproj index b3e104a..8ef1fa4 100644 --- a/Xamarin.RevenueCat.iOS/Xamarin.RevenueCat.iOS.csproj +++ b/Xamarin.RevenueCat.iOS/Xamarin.RevenueCat.iOS.csproj @@ -3,7 +3,7 @@ true Xamarin.RevenueCat.iOS - 4.30.0.2 + 4.30.0.3 Contains bindings for https://docs.revenuecat.com/docs/ios Christian Kapplmüller, Albilaga fun.music IT GmbH