Get help with anything related to RevenueCat.
Recently active
We use RevenueCat in Observer-Mode and only want to use it for logged-in users.I read the post:It mentions:Only configure RevenueCat with an userId Don’t call logoutThere is one issue with this approach though - if the user logs out and then makes purchases RevenueCat might pick them up. Is there a way to destroy the RevenueCat instance in order to get in a state equal to configure not being called? Maybe calling `Purchases.sharedInstance.close()` when the user logs our?
I’m now transferring my subscriptions to RevenueCat using Observer Mode on the server side and found out that for iOS users I should use the API key for ios and the opposite for Android.Docs says that I shouldn’t use a private API key for my case.Is there any universal API key?
We are seeing a discrepancy between the Revenue numbers that the individual App Store/Google Play stores are reporting and what RC is reporting. The difference is small, only about 2-3%. Could someone give me some insight into why that might be?Is there a timing difference? Is one recognizing discounts and another isn't?
I noticed an error logged for one of the iOS users:"error.code": "0", "error.domain": "RevenueCat.ErrorCode", "error.message": "Unknown error.", "error.nativeStackIOS": [ "0 MyApp 0x00000001042fa810 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 254064", "1 MyApp 0x00000001042d180c _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 86124", "2 MyApp 0x000000010425d280 _ZNK5folly3TryINS_4UnitEE16throwUnlessValueEv + 113116", "3 MyApp 0x000000010425d3b8 _ZNK5folly3TryINS_4UnitEE16throwUnlessValueEv + 113428", "4 MyApp 0x000000010421b280 MyApp + 176768", "5 MyApp
Hello, since today the subscriptions do not work in sandbox! I can get the subscription offers but I can't buy : The receipt is not valid.It's crazy, everything was working yesterday. I even deleted my sandbox user and recreated another one, still the same problem. I also changed the shared secret, but nothing.
HeyIm using subscriptions for both ios and google play through revenuecatToday an androud user reported that he has a new phone and the app keep saying he doesnt have any subscriptions. He is still on the same gmail-account as he did the purchase / subscription withI thought the subscription was following the user and not the device? Thanks for any help :)
I successfully managed to integrate RevenueCat with the Firebase extension, and working properly the events are sent to Firebase. But it’s hard to test some event types so I would like to send events from postman through the Webhook url:{"code":1,"message":"Incoming RevenueCat webhook could not be authenticated. Please check that the shared secret is set up correctly."}I have the shared secret added to header: Authorization: Bearer shared_secret_here (Shared secret is from the google cloud which is connected our app from Firebase)And added the webhook url the same as the Firebase integration webhook.Here is the Firestore rules: The firebase functions integrations are working properly, but I cannot make the same work with webhook, what am I missing? (not even test events)
The difference I know so far is that restorePurchases can be called multiple times but only through user action while syncPurchases should be called programmatically only once every app version.Is there any other differences or they are fundamentally different in what they do?
This method will fire whenever the SDK receives an updated CustomerInfo object from calls to getCustomerInfo(), purchase(package:), purchase(product:), or restorePurchases(). Is there a way to tell what causes the method passed to addCustomerInfoUpdateListener to be called? It will be nice to be able to tell the difference between a purchase and restore when it fires.
I want to setup discount codes for one-time in app purchases.I’ve seen loads of documentation on discounts for subscriptions not none for one-time purchases. I want to be able to give out codes that will allow people to use my product for free and discount codes that will give people a discount. What’s the best way to go about doing this for iOS and Android?
How do I know if purchase is pending in flutter? Please give me the code where I can do something like this - if(purchase.isPending) {doSomething();} else{doSomething();}
transferring app to another google play store and app store account with revenue cat without any income loss.
Hey All, instead of having RevenueCat create an anonymous user ID for every person that starts a subscription, I want to use the CloudKit recordName for the RevCat user ID so that I can match up the user. Currently, I have the RevCat implementation happening right when the app launches in the init {}. How should I think about fetching the CloudKit recordName before RevCat Purchases.configure(withAPIKey: “”, appUserID: “”) is called? Thanks for any help.
So we’ve been dealing with this issue being sent to us by the reviewer. We continue to find that your in-app purchase products exhibited one or more bugs when reviewed on iPad running iOS 15.7 on Wi-Fi. Specifically, the Subscribe button was unresponsive when tapped and we were unable to verify the purchasing process for your in app purchase items. Next Steps When validating receipts on your server, your server needs to be able to handle a production-signed app getting its receipts from Apple’s test environment. The recommended approach is for your production server to always validate receipts against the production App Store first. If validation fails with the error code "Sandbox receipt used in production," you should validate against the test environment instead. This is our first time releasing to app store. Should we ask the reviewer his/her appleID and add it as one of Sandbox testers?We appreciate all of your feedbacks.
I’d like to test if my app works better with subscription based or consumable based model.In subscription-based model, users will be presented a Paywall Screen to subscribe weekly to be a “premium” user, so they can play unlimited games.In consumable-based model, users will be presented a Paywall Screen to purchase X number of games. When they play X number of games, they will be presented another Paywall to top-up.Is RevenueCat Experiments suitable for this use case? Couple of points I’m curious are: Does Experiment Results work as expected with different monetisation models? Especially LTV is the concern point. With the nature of the Experiment, I need to show “Remaining Games”, “How To Get Refund”, “Current Subscription” etc. information in different screens. This means I need to know the bucketing value of the user. Does RevenueCat Experiments provide this? (I guess I can check current offering in different screens to get the experiment bucketing value and show correct UX)Thank yo
We have a special business/premium model, and we need help migrating our model to a flutter app which uses IAP.Currently, our system works as follows:Users can purchase "packages" through Stripe. Each package contains one or more "digital accesses" and we send a package redemption ID via email. On our site, users can redeem the package (once they receive the email), and we credit the digital accesses to their account.Digital access has the following properties:moduleName - The user gets access to this moduledurationInDay - From the redemption, this will be the duration. I think the following would be the best way to extend our business model with IAP:We consider every successful subscription-related transaction as a package purchase, but this time the user does not need to redeem the package. Instead, we directly credit the package to their account. We set the appUserId to our user's unique identifier (UUID) for every user.There should be a Revenue Cat endpoint where we can query all p
We have a service where user could purchase multiple subscriptions.How do I set up a product so that a user could subscribe to the same product multiple times.Let me give you an example.When a user subscribe to one subscription which is for $100 a year.That user could create a group on our platform and use the pro features.Now, the same user could create multiple groups by subscribing to the same product multiple times. How do I achieve this with revenue cat on iOS?
If you have a current app that does not use a server to validate receipts (Yes I know this is not reccomended), how can iOS purchases be migrated to revenuecat? If the user initiates a restore purchase would this happen: App checks revenuecat > sees no customer data > revenuecat checks apple > sees purchase > revenuecat creates customer info > sends info back to app.
I’ve done everything described here and it’s working fine in sandbox but when we published application into app store, the app store version didn’t work, in the logs we got this error:Could not find SKProduct for ( "subscription_30", "subscription_360", "subscription_180") There is a problem with your configuration in App Store Connect. More info here: https://errors.rev.cat/configuring-productsIs there a way to debug or fix it?
Hi, I was wondering if there were any plans to build a webhook that triggers when a subscription is coming to an end. Maybe around the same time as the app stores trigger their subscription expiring emails. Our business would find this really useful for sending our own comms. Thanks, Lydia
I’m using the Webhook integration together with a AWS Lambda to receive updates about subscriptions. I found out that, if the Lambda is not warmed up, the RevCat test call times out after 3 seconds. That is not enough to fire up the Lambda from cold start, although I’m using NodeJS which is probably one of the fastest Lambda options. Would it be possible to increase the timeout for your webhook integration?
If I want to show a custom string inside my app, when displaying the product, how can I do this? In other words, how can I set a string in my RevenueCat project, which I can display on the client side?
I am trying to get rid of 9 warnings from debug logs but I don’t know why I am getting them nor how/where to fix it.I have 9, one month - auto-renewing subscriptions configured in AppStore.The 9 warnings occur right after SKProductsRequest, but don’t seem to causing any real problems??It seems that it doesn’t know that my subscriptions are all 1 month subscription length? But when sandbox testing it shows that they renew and my configured products in the AppStore are definitely setup for 1 month.This is how I have my Offerings setup with the identifier “subscriptions” as seen in the 9 warnings… Any idea why I am getting these warnings?? “WARN: ⚠️ Unknown subscription length for package 'subscriptions': PackageType.custom. Ignoring.” 2022-06-14 08:49:20.589599-0400 App [Purchases] - DEBUG: 😻 SKProductsRequest request received response2022-06-14 08:49:20.589598-0400 App [Purchases] - DEBUG: 😻 SKProductsRequest did finish2022-06-14 08:49:34.082998-0400 App [Purchases] - WARN: ⚠️ Unknow
Hi, I would like to get notified when I make a new sale. Does RevanueCat support this type of automated notification/alert out of the box?
Hello, How to connect offer from Google play console to RC offer in order to include free trial in getOfferings method?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.