Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

1.1.8

Compare
Choose a tag to compare
@lgarbo lgarbo released this 23 Feb 10:10
· 18 commits to master since this release

Added

  • On Glassfy:
+ (void)setPurchaseDelegate:(id<GYPurchaseDelegate> _Nullable)delegate
+ (void)skuWithProductId:(NSString *)productid promotionalId:(NSString *)promoid completion:(GYSkuBlock)block
  • On GYPurchaseDelegate:
- (void)handlePromotedProductId:(NSString *)productid
              withPromotionalId:(NSString *_Nullable)promoid
                purchaseHandler:(void (^)(GYPaymentTransactionBlock _Nullable))purchase

- (void)didPurchaseProduct:(GYTransaction *)transaction

Renamed

  • On GYOffering property identifier renamed to offeringId
  • On GYPermission property permissionIdentifier renamed to permissionId
  • On GYSku property identifier renamed to skuId
  • On GYTransaction property productIdentifier renamed to productId
  • On Glassfy method + (void)skuWithIdentifier:(NSString *)skuid completion:(GYSkuBlock)block renamed to + (void)skuWithId:(NSString *)skuid completion:(GYSkuBlock)block

Notes

In current release, has been implemented -paymentQueue:shouldAddStorePayment:forProduct: of SKPaymentTransactionObserver to process promoted payment.
The implementation, call methods on GYPurchaseDelegate if implemented otherwise return true and process the purchase automatically.