Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address the blocks from RCPurchases #773

Closed
taquitos opened this issue Aug 25, 2021 · 4 comments
Closed

Address the blocks from RCPurchases #773

taquitos opened this issue Aug 25, 2021 · 4 comments

Comments

@taquitos
Copy link
Contributor

// typedef void (^RCReceivePurchaserInfoBlock)(RCPurchaserInfo * _Nullable, NSError * _Nullable) NS_SWIFT_NAME(Purchases.ReceivePurchaserInfoBlock);
// typedef void (^RCReceiveIntroEligibilityBlock)(NSDictionary<NSString *, RCIntroEligibility *> *) NS_SWIFT_NAME(Purchases.ReceiveIntroEligibilityBlock);
// typedef void (^RCReceiveOfferingsBlock)(RCOfferings * _Nullable, NSError * _Nullable) NS_SWIFT_NAME(Purchases.ReceiveOfferingsBlock);
// typedef void (^RCReceiveProductsBlock)(NSArray<SKProduct *> *) NS_SWIFT_NAME(Purchases.ReceiveProductsBlock);
// typedef void (^RCPurchaseCompletedBlock)(SKPaymentTransaction * _Nullable, RCPurchaserInfo * _Nullable, NSError * _Nullable, BOOL userCancelled) NS_SWIFT_NAME(Purchases.PurchaseCompletedBlock);
// typedef void (^RCDeferredPromotionalPurchaseBlock)(RCPurchaseCompletedBlock);
// typedef void (^RCPaymentDiscountBlock)(SKPaymentDiscount * _Nullable, NSError * _Nullable) NS_SWIFT_NAME(Purchases.PaymentD

@taquitos
Copy link
Contributor Author

Right now the blocks are not available in ObjC when using SPM. We should consider whether or not we want to make them available.

@taquitos taquitos changed the title APITester: Address the blocks from RCPurchases Address the blocks from RCPurchases Aug 26, 2021
@taquitos
Copy link
Contributor Author

  • (Migrates RCPurchases #758 (comment)) Move typealias into separate file and make it easier to map these to objc, maybe a separate file?

@taquitos
Copy link
Contributor Author

Removed them since they aren't super helpful and would complicate our deployment.

@github-actions
Copy link

This issue has been automatically locked due to no recent activity after it was closed. Please open a new issue for related reports.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant