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

WIP: Carousel compnent #4722

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

Conversation

joshdholtz
Copy link
Member

Motivation

Coming soon

Description

Coming soon

Copy link

emerge-tools bot commented Jan 28, 2025

1 build increased size

Name Version Download Change Install Change Approval
Paywalls
com.revenuecat.PaywallsTester
1.0 (1) 10.8 MB ⬆️ 66.4 kB (0.62%) 40.6 MB ⬆️ 288.6 kB (0.72%) N/A

Paywalls 1.0 (1)
com.revenuecat.PaywallsTester

⚖️ Compare build
📦 Install build
⏱️ Analyze build performance

Total install size change: ⬆️ 288.6 kB (0.72%)
Total download size change: ⬆️ 66.4 kB (0.62%)

Largest size changes

Item Install Size Change
DYLD.String Table ⬆️ 126.9 kB
Code Signature ⬆️ 7.1 kB
📝 RevenueCat.PaywallComponent.CarouselComponent.CarouselComponent ⬆️ 4.9 kB
DYLD.Exports ⬆️ 3.5 kB
DYLD.Fixups ⬆️ 1.3 kB
View Treemap

Image of diff


🛸 Powered by Emerge Tools

Comment trigger: Size diff threshold of 100.00kB exceeded

@joshdholtz joshdholtz force-pushed the paywalls-v2/carousel-component branch from 14701f4 to fc5511d Compare January 28, 2025 12:16
public let margin: Padding
public let shape: Shape?
public let border: Border?
public let shadow: Shadow?
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we also add a background color property? Also do we need to add the page indicator settings here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Another property that we might want is the initialPage to use

tonidero added a commit to RevenueCat/purchases-android that referenced this pull request Jan 31, 2025
### Description
This adds the carousel component structure and data flow. It does not
implement the view, which will come in a follow up PR.

First part of Android equivalent of:
RevenueCat/purchases-ios#4722

- [ ] Finalize schema
tonidero added a commit to RevenueCat/purchases-android that referenced this pull request Feb 3, 2025
### Description
This adds the `CarouselComponentView` that actually displays the
carousel

Second part of Android equivalent of
RevenueCat/purchases-ios#4722



https://github.com/user-attachments/assets/9649e370-d207-4b81-9119-7c60dc9cff13
@tonidero
Copy link
Contributor

tonidero commented Feb 3, 2025

I merged a version of this in Android. The schema I used is in this PR: RevenueCat/purchases-android#2092. Though we can perform any modifications if needed of course!

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

Successfully merging this pull request may close these issues.

2 participants