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

Added quantity for consumables. Added promo offers #529

Merged
merged 11 commits into from
Aug 18, 2024

Conversation

suriksarkisyan
Copy link
Contributor

No description provided.

@suriksarkisyan suriksarkisyan changed the title Feature/consumables update Added quantity for consumables. Added promo offers Jul 18, 2024
Sources/Qonversion/Public/QONErrors.h Outdated Show resolved Hide resolved
Sources/Qonversion/Public/QONLaunchResult.h Show resolved Hide resolved
Sources/Qonversion/Public/QONPurchaseOptions.h 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;
Copy link
Contributor

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?

Sources/Qonversion/Public/Qonversion.m Outdated Show resolved Hide resolved
Comment on lines +247 to +248
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmissing-declarations"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this remain?

Copy link
Contributor Author

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";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO!

@suriksarkisyan suriksarkisyan merged commit 16e2a1d into develop Aug 18, 2024
3 checks passed
@suriksarkisyan suriksarkisyan deleted the feature/consumablesUpdate branch August 18, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants