8000 feat: cores iap by capJavert · Pull Request #4449 · dailydotdev/apps · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: cores iap #4449

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

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

feat: cores iap #4449

wants to merge 12 commits into from

Conversation

capJavert
Copy link
Contributor
@capJavert capJavert commented Apr 24, 2025

Changes

Events

Did you introduce any new tracking events?

Experiment

Did you introduce any new experiments?

Manual Testing

Caution

Please make sure existing components are not breaking/affected by this PR

Preview domain

https://cores-iap.preview.app.daily.dev

@capJavert capJavert self-assigned this Apr 24, 2025
Copy link
vercel bot commented Apr 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
daily-webapp ✅ Ready (Inspect) Visit Preview May 6, 2025 2:44pm
1 Skipped Deployment
Name Status Preview Updated (UTC)
storybook ⬜️ Ignored (Inspect) May 6, 2025 2:44pm

Comment on lines +46 to +47
if (isIOSNative()) {
return iOSSupportsCoresPurchase();
Copy link
Member

Choose a reason for hiding this comment

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

This means we are not going to allow purchases through web with apple (in-app browser to be specific). Although it is more of an edge case. Should we maybe not check anymore since we will support both Paddle and iap with iPhone products?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am fine with both, probably just to check with product.

Copy link
Member

Choose a reason for hiding this comment

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

Cool. I'll send a message. Just to be sure we won't get into any legal trouble.

@@ -0,0 +1,103 @@
import type {
Copy link
Member

Choose a reason for hiding this comment

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

Moved some common interfaces/functions here.

};

const getApplePlusPricing = (metadata: ProductPricingMetadata[]) =>
Copy link
Member

Choose a reason for hiding this comment

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

Took the liberty to refactor and reuse these code blocks to the new file.

@@ -19,20 +21,12 @@ const AWARD_TYPES = {
} as const;
export type AwardTypes = keyof typeof AWARD_TYPES;

const SCREENS = {
Copy link
Member

Choose a reason for hiding this comment

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

Duplicate. We have another one which contains more items.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure if it is duplicate, since different context should have limited number of different screens, at least thats how Chris and I imagined it?

Copy link
Member

Choose a reason for hiding this comment

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

Oh. Thought they were duplicates. I can return it back, maybe I'll adjust the naming to avoid confusion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah that would work

Copy link
Member

Choose a reason for hiding this comment

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

Done! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0