Skip to content

CC-582 | Allow for support ticket creation#5779

Merged
RosieWatson merged 31 commits into
mainfrom
rosie/cc-582-show-create-a-ticket-ui-ios
Nov 19, 2025
Merged

CC-582 | Allow for support ticket creation#5779
RosieWatson merged 31 commits into
mainfrom
rosie/cc-582-show-create-a-ticket-ui-ios

Conversation

@RosieWatson

Copy link
Copy Markdown
Contributor

Motivation

This will allow customers to create a support ticket in order to contact the developer, rather than directly emailing the developer.

Description

If the correct config is passed through (from enabling support tickets in the dashboard) the "Contact us" button will no longer open the native mail client, but will instead show a new screen. This screen allows customer to give their email and a description of the issue. This will then be passed on to the developer from the backend.

I tested my changes locally both against my local API and the production API, using existing CC configs and some with the new changes. I also added unit tests for the new screen.

Android PR

@RevenueCat-Danger-Bot

RevenueCat-Danger-Bot commented Nov 11, 2025

Copy link
Copy Markdown
1 Warning
⚠️ The following Swift files were added but don't appear to be included in RevenueCat.xcodeproj:
• RevenueCatUI/CustomerCenter/Utilities/EmailValidator.swift
• RevenueCatUI/CustomerCenter/Views/CreateTicketView.swift
• Tests/RevenueCatUITests/CustomerCenter/CreateTicketViewTests.swift
• Tests/RevenueCatUITests/CustomerCenter/EmailValidatorTests.swift
• Tests/UnitTests/Networking/Backend/BackendPostCreateTicketTests.swift

If you've added new swift files using the tuist project, make sure those are added to the RevenueCat.xcodeproj, or double-check if they should be excluded.

Generated by 🚫 Danger

@emerge-tools

emerge-tools Bot commented Nov 11, 2025

Copy link
Copy Markdown

2 builds increased size

Name Version Download Change Install Change Approval
RevenueCat
com.revenuecat.PaywallsTester
1.0 (1) 16.7 MB ⬆️ 176.2 kB (1.07%) 59.6 MB ⬆️ 827.2 kB (1.41%) N/A
RevenueCat
com.revenuecat.PaywallsTester.mac-catalyst-optimized-for-mac
1.0 (1) 12.4 MB ⬆️ 183.4 kB (1.5%) 45.2 MB ⬆️ 735.6 kB (1.65%) N/A

RevenueCat 1.0 (1)
com.revenuecat.PaywallsTester

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 827.2 kB (1.41%)
Total download size change: ⬆️ 176.2 kB (1.07%)

Largest size changes

Item Install Size Change
DYLD.String Table ⬆️ 318.7 kB
Code Signature ⬆️ 21.3 kB
DYLD.Exports ⬆️ 7.2 kB
📝 RevenueCat.PostCreateTicketOperation.PostCreateTicketOperation ⬆️ 3.6 kB
DYLD.Fixups ⬆️ 1.6 kB
View Treemap

Image of diff

RevenueCat 1.0 (1)
com.revenuecat.PaywallsTester.mac-catalyst-optimized-for-mac

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 735.6 kB (1.65%)
Total download size change: ⬆️ 183.4 kB (1.5%)

Largest size changes

Item Install Size Change
DYLD.String Table ⬆️ 232.1 kB
Code Signature ⬆️ 18.5 kB
DYLD.Exports ⬆️ 7.2 kB
📝 RevenueCat.PostCreateTicketOperation.PostCreateTicketOperation ⬆️ 3.6 kB
DYLD.Fixups ⬆️ 1.6 kB
View Treemap

Image of diff


🛸 Powered by Emerge Tools

Comment trigger: Size diff threshold of 100.00kB exceeded

@emerge-tools

emerge-tools Bot commented Nov 11, 2025

Copy link
Copy Markdown

📸 Snapshot Test

4 added, 476 unchanged

Name Added Removed Modified Renamed Unchanged Errored Approval
RevenueCat
com.revenuecat.PaywallsTester
2 0 0 0 238 0 ✅ Approved
RevenueCat
com.revenuecat.PaywallsTester.mac-catalyst-optimized-for-mac
2 0 0 0 238 0 ✅ Approved

🛸 Powered by Emerge Tools

@vegaro vegaro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looking great!

Comment thread RevenueCatUI/CustomerCenter/Views/CreateTicketView.swift
Comment thread RevenueCatUI/CustomerCenter/Views/CreateTicketView.swift
Comment thread RevenueCatUI/CustomerCenter/Views/CreateTicketView.swift
Comment thread RevenueCatUI/CustomerCenter/Views/CreateTicketView.swift
Comment thread RevenueCatUI/CustomerCenter/Views/CreateTicketView.swift Outdated
Comment thread RevenueCatUI/CustomerCenter/Views/SubscriptionDetailView.swift Outdated
Comment thread Sources/CustomerCenter/CustomerCenterConfigData.swift
Comment thread Sources/Networking/Responses/CustomerCenterConfigResponse.swift

@facumenzella facumenzella left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is looking great!!

## Installing Tuist

Follow the official installation guide at [tuist.io](https://docs.tuist.io/tutorial/get-started) to install Tuist, then verify the install with `tuist version`.
Follow the official installation guide at [tuist.io](https://docs.tuist.dev/en/guides/quick-start/get-started) to install Tuist, then verify the install with `tuist version`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

❤️

Comment thread Tests/RevenueCatUITests/CustomerCenter/CreateTicketViewTests.swift
@RosieWatson RosieWatson requested a review from vegaro November 17, 2025 10:30
github-merge-queue Bot pushed a commit to RevenueCat/purchases-android that referenced this pull request Nov 17, 2025
### Motivation

This will allow customers to create a support ticket in order to contact
the developer, rather than directly emailing the developer.

### Description

- If the correct config is passed through (from enabling support tickets
in the dashboard) the "Contact us" button will no longer open the native
mail client, but will instead show a new screen. This screen allows
customer to give their email and a description of the issue. This will
then be passed on to the developer from the backend.

I tested my changes locally (emulator only, due to no Android device)
both against my local API and the production API, using existing CC
configs and some with the new changes. I also added unit tests for the
new screen.

[iOS PR](RevenueCat/purchases-ios#5779)
Comment thread RevenueCatUI/CustomerCenter/Views/CreateTicketView.swift
@facumenzella

Copy link
Copy Markdown
Member

@RCGitBot please test

@facumenzella facumenzella left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A tiny thing here and there, but this looks great =)
Let's see this live 🔥

Comment thread Tests/UnitTests/Networking/Backend/BackendPostCreateTicketTests.swift Outdated
Comment thread RevenueCatUI/CustomerCenter/Views/CreateTicketView.swift Outdated
@RosieWatson RosieWatson merged commit 8b229a2 into main Nov 19, 2025
12 checks passed
@RosieWatson RosieWatson deleted the rosie/cc-582-show-create-a-ticket-ui-ios branch November 19, 2025 08:26
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.

4 participants