Get help with anything related to RevenueCat.
Recently active
Can I use Google Play Developer API and App Store Server API (e.g. cancel, defer, extend) if needed? Will it affect subscription management of RevenueCat if I use those original APIs rather than RevenueCat REST API?
I’m using revenueCat in my flutter project, when building my app in Xcode it throw this exception:RevenueCat requires Xcode 13.2 with Swift 5.5.2 to compile. installed Xcode version: Version 14.2 (14C18)swift --version:swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)Target: x86_64-apple-macosx12.0any help?
I am testing a tvOS app that has a subscription and two consumable product IAP. The consumable product IAP works properly when running the tvOS app via Xcode. However, when running the same app via Test Flight, the consumable IAP does not allow the purchase of a second exact consumable and instead provides this message: “The In-app purchase has already been bought. It will be restored for free”. Again this is a consumable purchase so there should be no restoration and the user should be able to purchase it as often as they want. This again does NOT happen when running via Xcode. The consumable IAP is set as consumable on App Store Connect and is not associated with any entitlement here on RevenueCat. I am obviously concerned that if it’s happening on TF that it will happen in production as well. Why is this occurring? Thanks.
Hi folks!Google has updated their policy with the following text, marked my highligts in red:To give users more control over their data, we're introducing a new account deletion requirement under our User Data policy. If your app allows users to create an account, then it must also allow users to request for their account to be deleted in the app and through a web resource. All developers must also update their Data safety form in Play Console, where some information may be displayed on your app's Data safety section on Google Play. Learn more in our Help Center and blog.I have used RevenueCat 100% as my “userhandler” so I all requests regarding deletion has been done manually on e-mail from end user.In the future it will require a webpage to actually do so, is this a feature that maybe RevenueCat would provide? Or do I need to actually create a webpage to actually do this.
In the case if the purchase history has to be automatically paginated (if user has alot of purchase history), will it still give us the most recent purchase via nonSubscriptionTransactions.len - 1 ?
Hello there!We’re prototyping an integration with RevenueCat but initial tests are failing on Android with the following error:{ "nativeStackAndroid":[ ], "userInfo":{ "underlyingErrorMessage":"Error when fetching products. DebugMessage: An internal error occurred.. ErrorCode: SERVICE_UNAVAILABLE.", "readableErrorCode":"StoreProblemError", "readable_error_code":"StoreProblemError", "message":"There was a problem with the store.", "code":2 }, "message":"There was a problem with the store.", "code":"2"} We’re using the latest version of `react-native-purchases`. The billing permission is also set in our AndroidManifest:<uses-permission android:name="com.android.vending.BILLING"/> Also, both the Android project and the products on RevenuCat don’t report any error/issue. The products (subscriptions) have been imported using the automatic import tool on RevenueCat. Thank you in advance for your help.
I had an initial functioning setup to get offerings and make a purchase. It worked : I could make a test purchase.The code was in a ‘shop’ page, and I decided to move the RevenueCat initialisation to main.dart as initial entry point. But maybe this wrong because it screwed everything up, and the app crashed on loading (error below). So I put it back to what it was.The app now loads and all screens function EXCEPT I am now getting the same error when I open the shop page. Even though it was working before.*** Assertion failure in +[RCPurchases sharedPurchases](), RCPurchases.m:160*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'There is no singleton instance. Make sure you configure Purchases before trying to get the default instance. More info here: https://errors.rev.cat/configuring-sdk'*** First throw call stack:(0x183586754 0x19804d7a8 0x1834883f8 0x1848afa6c 0x1009762f4 0x1009f2d34 0x100cb7bc0 0x100cb5b04 0x10109ea60 0x100dafd7c 0x1010b
Hi, I used RevenueCat to set my in-app subscription. While developing everything was working correctly. Apple team approved the app and I released it. I downloaded the app, but the offerings wasn't fetching and I was unable to make a purchase.I found information that I should wait for 24 hours before release, so I made some small changes in my app, sent it to review, waited 24 hours and released it. Unfortunately the problem still exists.Does anyone have any idea why is that?Thanks in advance
Hello,I have a question about restoring purchases. I have an app using anonymous user ids. App starts with an intro slider, the last slider page is a pre-paywall view where the user can choose to either restore purchase or goto subscriptions ( hence the paywall). Restore purchase works as intended if the user has an ongoing subscription. I also saw that if a user with an ongoing subscription by misstake continued to the paywall view and tried to buy another subscription this was detected by the call to Purchases.shared.purchase… and a relevant alert in Swedish was presented, perfect!But my question is there a way to programatically check if a user is eligible to restore a purchase when the user has made a new installation of the app? Then I could disable the goto subscription button on the pre-paywall view. Best Regards, Tomas
I have the problem that I can’t get a product that is configured as non-consumable IAP in App Store Connect. I don’t have any issues with getting the subscription products though. The error is “Could not find products with identifiers: [“lifetime_2499”]. There is a problem with your configuration in App Store Connect.”My process for setting up the IAP is the same as for the subscription products. And since that works it is not an issue with the Paid Apps agreement (?). Status is “Ready for submit” which is the same for the subscription products. I am using Capacitor and the unofficial @capgo/capacitor-purchases plugin. Any ideas what I might be missing? I am testing on a real device.
RC Community I need your help. For 2 months we have not gotten paid from Apple. We are talking 6 figures in USD! This SIGNIFICANTLY affects our cashflow and we will have some challenges making payroll. I wrote to the finance team and they have not responded (it has been 2 weeks).What can I do here??????Background & TimelineApple had asked us to verify our company and account IDs and we did it Due to the verification they help our money from the end of Feb payout. Now its end of March, we still don’t see an issued payment
Hi guys,we are building our app in Flutterflow.i have created 3 different subscriptions in Google Play (and AppstoreConnect), let´s call them “Bronze”, “Silver” and “Gold”.Each subscription gives you access to more movies you can watch each month.Now when a (bronze) user reaches his limit for movies in this month and he wants to upgrade to a higher subscripion (e.g. silver), we have multiple subscriptions running.As i have read in AppStore we can work with subscription groups what means that when the user chooses another subscription, he automatically cancels the current one.Unfortunately this doesn´t work for us in PlayStore and so we have two subscriptions running at the same time.Do you have any solution for this problem?
Hi Everyone!I am new to RevenueCat, but I´m struggling with an issue for 3 weeks now. I am trying to create a subscription model for my app and it seems to work fine when I do the purchase, but when I try to restore said purchase the subscription is not found (“free version found” gets printed from the code below). I did try this with a physical device and using various sandbox testers. I also contacted support about two weeks ago, but their answers were not helpful so far (remove and add again the storekit config file, create new sandbox tester, make sure all ID-s are an exact match between XCode and RevenueCat...). When I make a test purchase it does appear in the Overview as New Customer, it has an expiration date date as well (for a monthly purchase I see one month instead of the test setup of 5 minutes), but I do not see an Active Subscription appearing. This is the code I use to manage the purchase: And this is what I used for restoring the purchase:
Hey guys,I would like some help.I implemented RevCat in my project, I did all the necessary steps, I used the StoreKit Configuration File. In addition, I created another scheme and linked this StoreKit Configuration File.Tests worked perfectly.Modifying to the scheme that does not have the storekit configuration file, it does not find the plans when trying to contract.Now comes my question, I would like to test with an APPLE ID account, I am using an iPhone 7 physical device that does not show the Sandbox Tester anywhere, and I already have 3 accounts registered in the apple store connect.I wanted to understand what process to test the purchase without using the store kit configuration file, to simulate a monthly subscription.Thanks
Hi.Why is the number of “Active Subscriptions" on the "Overview" page different from the number of "Active Subscriptions" on the "Customers" page? I checked, no customer has more than one subscription. How can this be possible?
Hi everyone,I just released a new version of my app on the App Store. When users who are already subscribed download and update to the new version, they’re getting my “Subscribe Now” paywall.If they tap “Restore Purchases”, then it correctly restores the purchase and shows that they are now subscribed. My app doesn’t have user authentication, so I’m relying on RevenueCat to generate a random App User ID. This is how I’m instantiating the RevenueCat SDK:Swift: // *** Configure RevenueCat in-app purchases *** //Purchases.logLevel = .debugPurchases.configure(withAPIKey: API_KEY_HERE, appUserID: nil, observerMode: false, userDefaults: UserDefaults(suiteName: "NAME HERE"))Purchases.shared.delegate = selfI’m guessing what’s happening is when a user updates the app and opens it, the app instantiates the RevenueCat SDK and generates a new anonymous ID, which isn’t aliased back to the original subscription unless they tap “Restore Purchase” first. My question is--- is there any way to do this
I dropped a full day on the “could not get offerings” issue that a lot of other people have experienced. The main cause of this was misleading/lacking documentation in the IOS Product Setup guide here.At the top of the document, it says: Make sure Paid Applications Agreement is signedBefore you set up your products, make sure you have the latest Paid Applications Agreement signed in in the "Agreements, Tax, and Banking" module in App Store Connect. You will not be able to test in-app purchases until the latest version of this agreement is signed with Apple. This is partially correct, which, in many people’s cases, means that it’s incorrect. You must also 1) fill out all the tax documentation, and 2) submit a bank account and have it approved. This was not clear to me, so I spent forever tracking down the error.Later in the guide it says: If you don't see the Subscriptions option, ensure your developer account has accepted all applicable contracts and have provided tax and banking info
Hello, i searched for a similiar bug, but did not encounter anyone else posting. Here’s what happened, my offer code redemption sheet was working as expected for months, but recently, it stopped showing the price. I don’t know if it helps, but my currency is configured in Brazilian reais ( R$ ). The offer code is recognized but the text says: ( translated )“1 year per offerPrice, then R$ 239,90/year. ”offerPrice is in bold because it was supposed to be the final price the user would pay
I want to make a subscription similar to this example:I want a person to subscribe to a purchase of 10 monthly apples, but if he eats all 10, the first day the user can pay for a subscription of 20 monthly apples.Do I have to cancel the old subscription and create a new one?In the example above, as I tell the stores and RevenueCat, that the 30-day subscription is no longer valid because its apples have already been consumed and that a new subscription of 20 additional monthly apples will have to be created.
I am trying to implement a monthly subscription as part of an in-app purchase. I am using a combination of xcode/swift and RevenueCat to implement this feature. In implementing the code that runs when the user clicks the purchase button i get the error saying "Fatal error: NSArray element failed to match the Swift Array Element typeExpected Package but found RCPackage". Where the code for the purchase button click is highlighted. Code is "guard let package = offerings.all.first?.value.availablePackages.first ".I am not sure what to do to fix this issue.
My team is currently looking into porting our Android and iOS app to a Windows standalone version (eg. for Steam), and I was wondering what the options are for communication between mobile and standalone. For example, a user would download our app on Android and start a subscription. Later, the user would download our port for Windows (logging back into his original account) and now wants to continue accessing his subscription features.
Hey friends! I have recently released an app on open testing (beta). When my users purchase a subscription, the google play initiates the purchase, the payment gets processed and the money gets deducted. After successful payment, it gets redirected to the app and the subscription is not seen active on the app. When i try to pay again for the subscription the playstore says you already have an active subscription. The transaction is shown on the play console dashboard also. But there is no update in the revenue cat. The customers list remains zero on my revenue cart dashboard. What should I do now?
After receiving an email from Apple about their new ‘Base price’ functionality for In App products I have adopted prices accordingly and set the base prices. However...Now ‘getOfferingsWithCompletion’ no longer delivers those products to my app in Sandbox mode, but it (still) does in Production mode at the moment. I have not changed any IDs, all contracts are signed, I checked that everything is fine, but still no luck.All I have changed in App Store Connect is: enabled Base Price functionality for the products, adopted prices accordingly. Absolutely no other changes, neither in my code, nor on App Store Connect.Anybody else seeing this? Any help is much appreciated.Console output:2023-03-10 14:02:20.935490+0100 my3E[16682:3200389] [Purchases] - DEBUG: ℹ️ No existing products cached, starting store products request for: ["my3e_tip_2", "my3e_hide_nag", "my3e_01months_ar_nfs", "my3e_12months_ar", "my3e_tip_1", "my3e_12months_ar_nfs", "my3e_tip_4", "my3e_tip_3", "my3e_01week_ar_nfs", "my3
I want to have a system like netflix where I ask users to log in with email and using my custom auth backend, store the user info. So user logs in on iOS device and purchases the subscriptions, and now can login to android device and get access to pro features (or vice versa). Achieving this so far is not the problem. The problem comes with the discrepancy where the source of truth of purchases is linked to the android or iOS account and not my app’s login.So imagine, customer A logins in android device with email - abc@email.com, and is also logged in his android id with the same email id, which is fine. But now if he logs out of my app and then log back in with another email id, say xyz@email.com, technically he should not have pro subscription. and since RC also stores both these users as separate account, the data I get from RC treats the user with xyz@email.com as a non-pro user.But now if the xyz@email.com tries to purchase the subscription, he will get an error saying - You’re a
Hi, I’m getting an error when trying to retrieve offerings from my StoreKit config file when running my unit tests. Current Setup: Tests scheme with a Unit test host app as the executable. RevenueCat Error: [Purchases] - ERROR: 😿‼️ There is an issue with your configuration. Check the underlying error for more details. There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used). More information: https://rev.cat/why-are-offerings-emptyUnderlying Storekit Error:[Default] [StoreKit] Failed to get products through appstored in simulator, will try using appstoreagent on host mac: Error Domain=ASDErrorDomain Code=950 "Unhandled exception" UserInfo={NSLocalizedDescription=Unhandled exception, NSLocalizedFailureReason=An unknown error occurred}Please can someone advise what might be going wrong here? Thanks!
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.