-
Notifications
You must be signed in to change notification settings - Fork 338
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
Cannot find CustomerCenterView importing RevenuecatUI #4311
Comments
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out! |
With SPM the file is available but all related to customer center is surrounded by a directive. Is there any way to build it including the directive anywhere?. I've included in my target but doesn't work. I had to modify each file to remove the compiler directive. |
@jesus-mg-ios we are just about to make a public beta that removes the directive and will solve this issues you're seeing |
@vegaro we were granted the alpha preview and we are trying to use it, but not sure how |
@jesus-mg-ios @unxavi we are having some issues with the release of purchases-ios 5.5.0 so we are holding the public beta until next week That means that if you want to test the alpha before the public beta you have to stick to the latest alpha we released https://github.com/RevenueCat/purchases-ios/releases/tag/5.3.0-customercenter.alpha.4 The alpha version is also available via Cocoapods. Set your pod to the latest alpha version and enable a Swift flag in your Podfile in order to be able to use it:
There are configuration docs available in our docs site We are hoping to make the beta public on Monday if everything works as expected, and that means you would be able to use the latest purchases-ios for it. Sorry about that. |
@vegaro thanks, we opted to modify the code because using cocoapods to test, it wasn't an option. Would be nice if you could create an option for remove the close button on the trailing side of the view, and the navigationCompatibilityView. Something like this:
and
By adding three parameters — newNavigationIsUsed, needsPushNavigation, and closeButtonIsNeeded — to CustomerCenterView, we enable flexibility in the navigation behavior. This approach ensures:
newNavigationIsUsed: Determines if the app should use the iOS 16+ NavigationStack system with .navigationDestination. When false, it falls back to using NavigationLink. Take the snippets as example, for sure you can create viewModifiers, models, and reduce code. Thanks |
Thank you so much for the detailed feedback. We'll take a look. Also, we have just released 5.5.0 and enabled the Customer Center for everyone as a public beta |
@jesus-mg-ios thanks again for the detailed explanation. We've released 5.15.0 that introduces Please let us know if there're any other issues 💪 |
Describe the bug
We have been approved to use this alpha feature.
.with(storeKitVersion: .storeKit1)
)Purchases.logLevel = .verbose
will help us debug this issue.Download the latest revenucatui xcframework from tags. include it in your target, try to use CustomerCenterView.
Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: