Get help with your SDK implementation.
Recently active
I am showing a PaywallViewController (iOS, UIKit) without a “Restore” button in my app (I am showing it in my own UI in a step before). Unfortunately, the “Continue” button now sits just at the top edge of the view which looks a bit unprofessional. I see no way to change this myself. Please see the attached screenshot (taken in the Catalyst version of our app). Thanks!
On Android devices, it appears fine; however, on iOS devices, it pushes the UI off the screen to the right. I have attached the Screen shot.
Hello everyone,When a user registers in my app, I create an account for them on the Revenue Cat platform with a POST call to this url https://api.revenuecat.com/v2/projects/projxxxxxx/customers. I ask for the creation of a new customer and I also ask for app_user_id RevenueCat to be the unique identifier that my user has in my app so that I can find him easily when he is in RC.When I go to “customers” in R C, my customer is there, with the app_user_id set to the unique identifier in the app. So so far so good!Except that when my user takes out a subscription on app, Revenue cat creates a new Revenue Cat identifier for him, whereas I want the customer to keep his app_user_id identical to the unique identifier in my app.
I’m testing family sharing on subscriptions and IAP in sand box. I have an IAP that unlocks a lifetime access to the app and if users that are in a family sharing group purchase it, other members of the group are able to access it via restore purchase. However, if a member subscribes to the monthly membership, they get access to the app through the lifetime IAP, but are also charged a monthly subscription. When they sign up for a subscription, it creates a new alias.I understand that sandbox environment can be wonky but I’d like to get an idea of the expected behavior in prod from those who have tested this previously. What’s the standard way for users to download a family shared app? You cant access Settings > Your Name > Family > Subscriptions with a sandbox account. Is it expected for users to be charged a monthly subscription even though they have access to a family shared IAP? Thank you!
Hello everyone :)I am trying to give different links for English and Local language for footer links at paywall.I could not find it.Can we add localized links for footer links Privacy Policy and Terms and Conditions at paywall?
Hello RevenueCat Team, I am currently working on integrating the RevenueCat REST API v2 into our backend systems. During testing in the sandbox environment, I’ve encountered an issue where the /subscriptions endpoint returns an empty items array, even customer object has valid entitlements in Sandbox. This behavior is not limited to subscriptions integrated via Stripe like the post “REST v2 subscriptions empty in sandbox”; it also occurs with subscriptions made through StoreKit. This issue has been previously discussed in the community before. However, the problem persists and significantly impacts our development workflow. The inability to retrieve sandbox subscription data via the v2 API hinders our ability to manage and verify user subscription statuses during testing. Consequently, we are compelled to rely on the deprecated v1 API for this functionality, which is not ideal for maintaining a modern and efficient codebase. We kindly request that the RevenueCat team consider extending
Background: My app stores user content. When it receives a TRANSFER webhook, it will move all owned content from the old account to the new account.On both IOS and Android, I get the expected behaviour when a logged in user restores a valid subscription: The entitlements are transferred to a the new account & a TRANSFER webhook is sent.The divergence comes when dealing with an expired subscription. IOSStepsCreate a subscription Cancel the subscription + wait for expiration Sign in on a different app account Press Restore purchasesOutcome: No entitlements in new app account, no TRANSFER web-hook sent AndroidStepsCreate a subscription Cancel the subscription + wait for expiration Sign in on a different app account Press Restore purchasesOutcome: No entitlements in new app account, TRANSFER web-hook is sent So for me, the Android case is wrong. Is there a reason for the inconsistency? Thanks,Jon
Hello,The steps I perform:1. Create a new user (the user appears in RevenueCat Dashboard).2. Grant entitlement to the user in the Dashboard.3. Run Purchases.restorePurchases() in the app (Flutter)4. Then Purchases.getCustomerInfo()The steps work perfectly in iOS: the customer info contains the entitlement.They doesn’t work on Android though. restorePurchase does not seem to account for the promo account given in the Dashboard: D/[Purchases] - DEBUG( 5926): ℹ️ Restoring purchasesW/[Purchases] - WARN( 5926): ⚠️ allowSharingPlayStoreAccount is set to false and restorePurchases has been called. This will 'alias' any app user id's sharing the same receipt. Are you sure you want to do this? More info here: https://errors.rev.cat/allowsSharingPlayStoreAccountD/[Purchases] - DEBUG( 5926): ℹ️ Querying purchase history for type subsE/libEGL ( 5926): called unimplemented OpenGL ES APID/EGL_emulation( 5926): app_time_stats: avg=1898.39ms min=4.90ms max=16965.74ms count=9D/[Purchases] - DEBUG( 592
I’ve implemented the RevenueCat SDK and tested the entire purchase journey using the TestFlight version of the app. Everything worked smoothly on iPhone (tested with different iPhones).However, my app was rejected, and upon reviewing the feedback and attached screenshot, I noticed the reviewers tested it on an iPad. I then tested the same TestFlight build on two iPads — both returned an error when calling getOfferings. The same code works correctly on iPhone but consistently falls into the catch block (at `….Purchases.getOfferings()) on iPad.SDK version: "@revenuecat/purchases-capacitor": "^9.2.1"Since it works on iPhone, we’re confident that the product identifiers and configurations are correct. We only test on real devices. StoreKit testing is not implemented, so simulator support is not expected and not needed. Tested devices: iPad (9th generation) – iPadOS 18.4.1 iPad (10th generation) – iPadOS 18.4.1 App Review test environment: iPad Air (5th generation) – iPadOS 18.4.1 In Ap
Hi everyone 👋I'm having an issue with the RevenueCat paywall UI on Android. I created a paywall design in the RevenueCat dashboard and linked it to my offering called "my_offering_identifier_is_here". Then, I'm showing the paywall like this:paywallActivityLauncher.launch(offeringIdentifier = "my_offering_identifier_is_here")The products show up correctly (so the offering ID seems to be working), but the paywall design is not the one I created. Instead, a default or unrelated layout is being displayed.Here’s what I’ve checked so far: The offering ID "my_offering_identifier_is_here" is correctly set and matches what I used in the dashboard. The paywall is published and active on RevenueCat. SDK is initialized and fetching offerings successfully. Has anyone run into this before?Is there something I'm missing to make sure the correct custom paywall design shows up?Any help would be appreciated 🙏
Hi guys! I'm integrating subscriptions in my Flutter app using RevenueCat. iOS case. I'm encountering an issue where the price shown on the paywall differs from the price shown at the actual App Store checkout. For example:* On the paywall, I show $59.99 (taken from `package.storeProduct.priceString`)* But when the user proceeds to the purchase, the App Store sheet shows $69.99 I'm not hardcoding any values — I use priceString from RevenueCat offerings.I use Flutter, but the issue happened on IOS only Questions:-Why might there be a mismatch between the price from on paywall and checkout? Thanks in advance for any insight!
When running eas build --profile dev-purchase --platform ios --local --clear-cachethe build process works but when trying to start the app and using the react-native-purchases sdk, I get the error: Import failed: `new NativeEventEmitter()` requires a non-null argument. The reason seems to be that the RNPurchases native module cannot be found. This only seems to happen when using eas build and on iOS. I have tried several of the latest react-native-purchases library versions. It seems to happen for every version. I already searched the internet for solutions and iterated with ChatGPT but am still facing the same issue. Is anyone aware of this and possibly has a solution?
I have set an offering as default offering. When starting the app for the first time the default offering is loading correctly. After this I always get this error. The new default paywall I use is Paywalls v2. I do not try to load different offerings in my code just the standard default one. In Xcode I get the following warning WARN: ⚠️ Failed looking up localization, using fallback: en_DEWARN: Could not determine price format because price string is incompatible.
Hi, We are using Flutter SDK which utilizes Android SDK under the hood. We have an Offering set up with 6 packages.When requested through Purchases.getOfferings(), this offering has only 5 packages. As you can see, 2nd_monthly is missing in actionThis results in basic RevenueCat paywall being shown (which also contains only 5 packages) instead of our paywall. iOS app works just fine.
I'm experiencing a timeout error (Error 32) from RevenueCat on iOS devices during app launch. The log says:“StoreKit 1 product request took longer than expected (30.17 seconds)”, and the app hangs or fails to load products.I've verified the product identifiers, my setup in App Store Connect, and that I'm using the latest SDK.Can you help confirm if this is a known issue, or if there's a specific best practice for fallback behavior?
I’m using the new beta paywalls. How do I get {{ product.relative_discount }} to render correctly for paywalls showing non-subscription packages? This question... indicates that this doesn’t seem to be supported? Surely this isn’t the case? Showing relative discounts is a pretty big deal for any paywall with multiple packages. Can someone point me in the correct direction to resolve this?
I think it should be made absolutely clear that restoring purchases on iOS does not work when using a .storekit file. At least I did not see this anywhere and spend a day on trying to get restore to work – until I switched to a scheme without a .storekit file.Maybe this is mentioned somewhere in the docs, but I did not see it.Thanks,Marc-André
Now, I may just be paranoid but ALL initiated purchases on my app in the last week ended in this “Purchase was cancelled” error, which to me, seems highly on unlikely for an app that used to get purchases every few days. I wonder whether users really cancelled all these purchases or is there something else going on here.{ "nativeStackAndroid": [], "userInfo": { "userCancelled": true, "code": 1, "underlyingErrorMessage": "Error updating purchases. DebugMessage: . ErrorCode: 1.", "readableErrorCode": "PurchaseCancelledError", "readable_error_code": "PurchaseCancelledError", "message": "Purchase was cancelled." }, "code": "1", "userCancelled": true}
I need some serious help as I think I messed things up with my latest code update. I use the Flutter SDK and this is what I do when the app starts up: configuration.purchasesAreCompletedBy = PurchasesAreCompletedByRevenueCat(); if (authService.currentUser != null) { configuration.appUserID = authService.currentUser!.uid; } await Purchases.configure(configuration); if (authService.currentUser != null) { if (authService.currentUser!.displayName != null) { Purchases.setDisplayName(authService.currentUser!.displayName!); } if (authService.currentUser!.email != null) { Purchases.setEmail(authService.currentUser!.email!); } } else { log.t('4. User is not logged in, setting app user ID to null'); configuration.appUserID = null; }The authService just checks if the user is logged in and if they are, it assigns the actual uid from the app to the user account so that I can find them quickly.However, I noticed with this code, m
Hello everyone,We’re looking to adopt the web purchase flow for our iOS app using RevenueCat. I’ve set up a Web Billing project and configured it for our default offering (see attached screenshot). My understanding is that, once everything is configured correctly, the `webCheckoutUrl` property should be populated for the relevant package when fetched via the SDK.However, I’m still seeing that `webCheckoutUrl` is `nil`. Is this likely due to a misconfiguration on my end, or am I misunderstanding how and when this property should be set?Any insights or suggestions would be greatly appreciated. Thank you!
Are there any plans to support fetching Web Billing products on mobile platforms?ContextWe are using RevenueCat Web Billing to manage our web app subscriptions.On the companion mobile app, we would like to show users some details regarding their subscription.As such we are configuring our Purchases instance with the WebBilling API Key.This works well for the most part - with entitlements & subscription expiration data coming in as expected on the CustomerInfo response.IssueOther information (such as price) can only be obtained via the product instance itself.And any attempt to fetch the WebBilling product returns a “Not Found” error with it being obvious that the SDK is only searching among the PlayStore / AppStore products.Furthermore, attempting to manually specify the store via the PurchasesConfiguration.Builder is also met with an exception. And sure enough, looking into the implementation reveals that the provided store is cast to the one native to the platform (e.g. on Androi
I am getting logs that occasionally with some users Purchases.sharedInstance throws UninitializedPropertyAccessException even though Purchases.configure was called literally on the line before. Our app is only available via Google Play Store, so there shouldn't be any issues connected with prerequisites not being met on that front. Is Purchases.configure asynchronous in some sense? I skimmed through the code and I saw no indication that the configuration (and initialization of sharedInstance) should fail in any sense. One thing I should also note is that I access Purchases.sharedInstance via DI using Hilt. It occurred to me that maybe there somehow exist two instances of Purchases (one configured, and one not), but I think if that was the case, this problem would be ubiquitous, and not impacting just some of the users some of the time. I am using SDK v8.17.1
How are people restoring purchases with App2Web and RC paywalls?I’m in the sandbox for all of this right now, and I’ve been testing flows on Dipsea to see how they are supposed to work and I can’t figure this out at all:The restore purchase button in RC Paywalls does nothing if there is no active iOS or subscription or if there is an active RevenueCat Billing subscription. At the very least .onRestoreFailure should be called, but it is not, it seems like a bug that has been around for some time according to these forums. I noticed in Dipsea this is also the case, nothing happens when you press restore purchase. There is a progress wheel for a split second and then nothing.This leads to my next questionIf someone makes a purchase via App2Web, how do they restore their purchase? There seems to be no way of doing this right now via the RCPaywall? Or am I missing something? If they press restore purchase that does not seem to restore anything in sandbox or give them a prompt to sign in wit
Hello, is there a way to check if the user that hasn't bought anything yet, is from Apple US Storefront with react native?
Hey everyone!I'm using RevenueCat’s default PaywallView in my iOS app, and I’d like to know if there’s a supported way to run a custom validation before the actual purchase happens, using the default paywall UI.Here’s the use case I need to support: A user logs in to App Account A using Apple ID X, then subscribes successfully. Later, they log out and log in with App Account B, but still using the same Apple ID X. Before allowing them to subscribe again, I want to detect that Apple ID X already has a subscription tied to a different app user ID. To do this, I use restorePurchases() and compare the originalAppUserId.But currently, I can only run this validation before presenting the paywall, which isn’t ideal UX-wise.I saw that originalTemplatePaywallFooter accepts a purchaseStarted callback, like: CustomMarketingView().originalTemplatePaywallFooter(purchaseStarted: <PurchaseOfPackageStartedHandler?>) But i can't make it work. ❓What I’d really like:To trigger my validation onl
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.