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: support workflow #3865

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

WIP: support workflow #3865

wants to merge 7 commits into from

Conversation

aboedo
Copy link
Member

@aboedo aboedo commented May 3, 2024

https://www.loom.com/share/cd4d9305fb6d43338ee5905f095655a4

Adds the ability to open up a support workflow with a single line of code, SupportView.

This is set up as a new folder within RevenueCatUI, and it reuses a lot of stuff from RevenueCat itself.

It's currently very hacky, but all the functionality that is there works correctly.

Includes:

  • Open up the support workflow
  • If you have an active subscription
    • if subscription is from apple, open up manage subscriptions screen
    • if not, inform them that they need to manage it elsewhere, provide a button to open up management screen of the store
  • Ability to restore with a nice-looking flow
  • Ability to contact support (although we need to make the actual link configurable through a backend endpoint)
  • Ability to begin a refund request through apple (although we'd also want to provide extra UI there with a winback offer)
  • Ability to see your current subscription, expiration, renew status, date and price

@aboedo aboedo self-assigned this May 3, 2024
@RevenueCat-Danger-Bot
Copy link

1 Error
🚫 Label the PR using one of the change type labels
1 Message
📖 Size increase: 14.04 KB
Label Description
breaking Changes that are breaking
build Changes that affect the build system
ci Changes to our CI configuration files and scripts
docs Documentation only changes
feat A new feature
fix A bug fix
perf A code change that improves performance
RevenueCatUI A change to the RevenueCatUI library
refactor A code change that neither fixes a bug nor adds a feature
style Changes that don't affect the meaning of the code (white-space, formatting, missing semi-colons, etc
test Adding missing tests or correcting existing tests
next_release Preparing a new release
dependencies Updating a dependency
phc_dependencies Updating purchases-hybrid-common dependency

Generated by 🚫 Danger

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.

None yet

2 participants