-
Notifications
You must be signed in to change notification settings - Fork 23
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
Added quantity for consumables. Added promo offers #529
Conversation
# Conflicts: # Qonversion.xcodeproj/project.pbxproj
Sources/Qonversion/Qonversion/Constants/QNAPIConstants/QNAPIConstants.m
Outdated
Show resolved
Hide resolved
Sources/Qonversion/Qonversion/Main/QNProductCenterManager/QNProductCenterManager.m
Outdated
Show resolved
Hide resolved
Sources/Qonversion/Qonversion/Main/QNProductCenterManager/QNProductCenterManager.m
Outdated
Show resolved
Hide resolved
Sources/Qonversion/Qonversion/Main/QNProductCenterManager/QNProductCenterManager.m
Outdated
Show resolved
Hide resolved
@param completion Completion block that includes entitlements dictionary and error | ||
*/ | ||
- (void)purchaseProduct:(QONProduct *)product quantity:(NSUInteger)quantity completion:(QONPurchaseCompletionHandler)completion; | ||
- (void)purchaseProduct:(QONProduct *)product options:(QONPurchaseOptions *)options completion:(QONPurchaseCompletionHandler)completion; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we add options to the purchase
method?
#pragma GCC diagnostic push | ||
#pragma GCC diagnostic ignored "-Wmissing-declarations" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this remain?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it should. Until we make this feature public in the next release.
@@ -14,7 +14,7 @@ | |||
NSString * const kInitEndpoint = @"v1/user/init"; | |||
NSString * const kSendPushTokenEndpoint = @"v1/user/push-token"; | |||
NSString * const kPurchaseEndpoint = @"v1/user/purchase"; | |||
NSString * const kGetPromoOfferDetailsEndpoint = @"v3/purchase"; | |||
NSString * const kGetPromoOfferDetailsEndpoint = @"update_promo_offer_endpoint_here"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO!
No description provided.