This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
1.1.8
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
propertyidentifier
renamed toofferingId
- On
GYPermission
propertypermissionIdentifier
renamed topermissionId
- On
GYSku
propertyidentifier
renamed toskuId
- On
GYTransaction
propertyproductIdentifier
renamed toproductId
- 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.