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

Add warning about installing RevenueCat UI before integrating the Customer Center #649

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ There are only two steps to integrate Customer Center in your app:

## Integration

:::warning
Before integrating the Customer Center in Android, you need to add the RevenueCatUI SDK 8.12.0 or higher to your app. Follow the [RevenueCatUI installation guide](/tools/customer-center/customer-center-installation#native-android-installation) for more information.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we include with the purchases-ui dependency included as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh I thought that RevenueCatUI SDK was enough. But let's be more specific

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@charliemchapman added. I also added a not on play console being slow with offer changes

:::

There's a `CustomerCenter` composable that can be used to display the Customer Center. It's intended to be used as a full screen composable so make sure to use it with a `fillMaxSize` modifier:

import usageViewKotlin from "!!raw-loader!@site/code_blocks/tools/customer-center-usage-1.kt";
Expand Down
4 changes: 4 additions & 0 deletions docs/tools/customer-center/customer-center-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ There are only two steps to integrate Customer Center in your app:

## Integration

:::warning
Before integrating the Customer Center in iOS, you need to add the RevenueCatUI SDK 5.14.0 or higher to your app. Follow the [RevenueCatUI installation guide](/tools/customer-center/customer-center-installation#native-ios-installation) for more information.
:::

You can use the `CustomerCenterView` directly:

import usageView from "!!raw-loader!@site/code_blocks/tools/customer-center-usage-1.swift";
Expand Down