Get help with your SDK implementation.
Newest first
I’m getting a successful “response” from the native iOS purchase dialog (it gives me the check and the happy ding sound) but RevenueCat fails. Unfortunately, the failure also takes like 30 seconds to be responded to so beyond it failing, the failure is a bad UX and it’s not really clear how to handle it. Below are the debug logs. This is in our sandbox environment:[Purchases] - DEBUG: ℹ️ Debug logging enabled[Purchases] - DEBUG: ℹ️ SDK Version - 3.12.6[Purchases] - DEBUG: 👤 Initial App User ID - (null)[Purchases] - DEBUG: 👤 Identifying App User ID: $RCAnonymousID:aa5680df790640a0823e5cd15d8d05ed[Purchases] - DEBUG: ℹ️ Delegate set[Purchases] - DEBUG: ℹ️ There are no requests currently running, starting request GET /subscribers/$RCAnonymousID0X0P+0aa5680df790640a0823e5cd15d8d05ed[Purchases] - DEBUG: ℹ️ API request started: GET /v1/subscribers/$RCAnonymousID:aa5680df790640a0823e5cd15d8d05ed[Purchases] - DEBUG: ℹ️ There's a request currently running and 0 requests left in the queue, que
Anyone having this issue today ?Is there a server issue as my code has not changed ??
in flutter when i try to fetch offerings ,its showing empty list,but i added products in google play console and configured in revenceCat also,i dont know why its happning to me.
Hi, so we are using ionic capacitor framework. Everything works fine on IOS but we have problem with Android. So when we start the build we are running into this errors. Tried different gradle versions 4.2.2 and 7.0.3 - 7.0.4 "@angular/common": "~12.1.1", "@angular/compiler": "~12.1.1", "@angular/core": "~12.1.1", "@angular/fire": "^6.0.5", "@angular/forms": "~12.1.1", "@angular/platform-browser": "~12.1.1", "@angular/platform-browser-dynamic": "~12.1.1", "@angular/router": "~12.1.1", "@angular/service-worker": "~12.1.1", "@bugsnag/js": "^7.13.2", "@bugsnag/plugin-angular": "^7.13.2", "@capacitor-community/fcm": "^2.0.2", "@capacitor-community/firebase-analytics": "^1.0.0", "@capacitor-community/native-market": "^0.1.4", "@capacitor/android": "3.1.2", "@capacitor/app": "1.0.2", "@capacitor/browser": "^1.0.2", "@capacitor/core": "^3.1.2", "@capacitor/device": "^1.0.3", "@capacitor/haptics": "1.0.2", "@capacitor/ios": "^3.2.
I have an app that is currently in the iOS App Store using RevenueCat for a one-time in-app purchase to unlock all the features.Current App • Version 4Bundle ID: com.example.version4I’m soon going to release version 5 of this app, but it’s going to exist side-by-side in the App Store with the prior version and have its own, new bundle ID.New App • Version 5Bundle ID: com.example.version5From within version 5, I want to be able to query RevenueCat to see if the user has a version 4 license so that I can upgrade them to version 5 for free.How can I check for the user’s prior purchase from within an app that has a different bundle ID?
Hi,Apple requires apps to provide the users with a way to delete the accounts they have set up in the app. I guess it does not only apply to the id in our login system, but also the associated information on RCat.Is there a way to remove the user id and other data from RCat altogether, using iOS/Android SDKs? I might be dumb, but I can’t find anything in the reference.Thank you :)
When trying to make a purchase in the sandbox for Apple TV I receive ERROR: 🍎‼️ There was a problem with the App Store. To get around this problem I have to log out of my sandbox account on the TV and immediately log back in. This resolves the issue for 10 minutes or so when I then have to do the same thing again. Rinse and repeat. Outside of continually logging out and back in again, what can be done to more permanently solve this issue? This does not give me confidence to put something in production. Full error details: Optional(Error Domain=RCPurchasesErrorDomain Code=2 "There was a problem with the App Store." UserInfo={readable_error_code=STORE_PROBLEM, NSLocalizedDescription=There was a problem with the App Store., NSUnderlyingError=0x280058810 {Error Domain=SKErrorDomain Code=0 "An unknown error occurred" UserInfo={NSLocalizedDescription=An unknown error occurred, NSUnderlyingError=0x28007ba20 {Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingEr
A few weeks ago I was experimenting with transferring subscriptions if a user makes a logout or logs in with their login ("test1") from another device. Until recently, subscriptions were transferred to another device or login, but were canceled on the old login and device. Now I observe that it is enough to enter user Id on other devices and all devices will get a subscription, even if they have different google account. Anonymous ids are added to the "test1" account. So even those devices where the user left the account get subscriptions. It turns out that users just tell each other userid and everyone can buy a subscription to only onсe. How to restore the behavior where a user can use only one device and can't share a subscription only by passing his userid?
How can i Revenue cat Debug Log into any sheet or firebase. one of my user facing issue with subscription. now i want check revenue-cat log. and i don’t have any option to debug that case on my machine because user is not providing his credential.so i thinking to add debug log into bulid and provide that bulid to user. so i can read or check those debug log
I’m getting invalid product identifiers after updating the SDK to the latest version. RevCat was working perfectly before the update. Any suggestions on how to fix it or should I report it as a bug?
Context:My app has 2 subscriptions, monthly & yearly. They unlock the same content, so they are technically within the same “subscription group” as apple references them.The app has added one-time codes to the yearly subscription, which I made redeemable via Google Play (deep link from app to Google Play). Issue:The issue that I am having only happens to users who are currently subscribed (eg. to the monthly subscription) and redeem the (yearly) promo code via Google Play.Currently, to “upgrade” a user’s subscription, I have to provide `UpgradeInfo` to the `makePurchase` method. However, if the user makes a purchase/redeems a code from outside of the app, there is no way for me to upgrade from their current subscription. Questions:Listening to outside purchases:How can I listen to a purchases outside of the app to perform an “upgrade”? If I were to receive this outside purchase, how would I upgrade their subscription?Are there any other solutions to this that I may not be aware of?
My Flutter app is showing a prompt to sign in with Apple when I call Purchases.checkTrialOrIntroductoryPriceEligibility on iOS. I found a related topic from a RC customer using the iOS SDK.The suggested workaround is to check if a receipt exists before calling checkTrialOrIntroductoryPriceEligibility. The Flutter SDK doesn’t seem to provide a way to check for receipts. Is there any workaround for me without writing custom iOS plugin code?It sounds like this issue only happens in the sandbox environment, but I’m concerned that my app will be rejected if the reviewer is constantly getting sign-in prompts.
We have recently launched promotional offers to our subscribers, and we know that some users have been purchasing them.Unfortunately, it seems that we do not see a transaction for a user purchasing a promotional offer in RevenueCat.We are effectively blind as to who has purchased an offer, and who hasn’t. This makes it difficult for us to provide support to users who have questions regarding payment etc.Question: if a user is not yet at the end of their existing subscription and they purchase a promotional offer, should we see the transaction inside the receipt and therefore in the RC dashboard immediately?
Hi, documentation at https://docs.revenuecat.com/docs/purchaserinfo says that we should call getPurchaserInfo() any time a user accesses premium content.However, I can see that SDK updates its cache when app comes to screen.Is it still necessarily to call getPurchaserInfo() anyway?
We would like to receive App Store Transaction IDs when calling the REST API https://api.revenuecat.com/v1/subscribers/app_user_idI have seen other posts where developers request this, and the response from ReveneCat has been to use the Webhook.I am aware that the ID is provided in the Webhook and we are using this, however, this is not a completely satisfactory solution.Issue 1: Missed Webhook CallbacksIf for whatever reason our server does not receive/process the webhook callback then we will never know the transaction/order ID. We have logic in our app and on our backend servers that calls the RevenueCat API’s to refresh/sync user’s subscriptions. Without a transaction ID we cannot guarantee the uniqueness of a subscription.Issue 2: Legacy MigrationWe are migrating from native implementations of our app to Flutter. In that effort we identified RevenueCat as a great solution. However, we still have legacy customers and our backed depends on using the transaction Id’s from the App Sto
Hi, I’m going to outline my processes to easily create free trials and subscriptions for one device per google account. I am looking for advice on how to administer the subscription accounts and what pitfalls I may have, basically will my system work. Free TrialThe app is installed and on its first execute, RevenueCat creates an account for the app. Every time the app is executed the app will request the requestDate and check it against the current date, when the dates are more than 14 days apart the free trial will end. My trial time is currently hard coded in honesty I would not really change this time but I am aware I can grab this information from Google if required.I believe the requestDate does not change as its a static date when the account was created so it can be used for this process.Is there anything I need to know about using this date does it change at all ?Questions : I want to allow a one time only free trial unless I authorise a second trial but I don’t want the app
We have a problem where after applying a 20% / 30% discount on a product we do not fall within a price tier in Apple. For example we have 1 consumable product that is priced at £79.99. We offer 20% discount code’s to our users so we came up with a workaround to create a new product in Apple with a price of £63.99. i.e. 20% off £79.99. However we have come into an issue as Apple does not offer a price tier of £63.99. The solution we came up with, was to create a a new product with the value of £8.99 and allow the user to buy 8 of these products at the same time i.e. that would add up to £63.99. But from looking at the RevenueCat `purchaseProduct` API in React Native it does not allow you to set a quantity. Do you know if there is another way of achieving this using RevenueCat or even better, a way of using a custom price for a product in iOS?
We seem to be getting a `Domain=RCPurchasesErrorDomain Code=23` error when trying to retrieve offerings on iOS 14. The full log is as follows:2021-12-03 10:22:16.648693+0200 Today[34769:534081] [Purchases] - ERROR: SKRequest failed: UNKNOWN_ERROR2021-12-03 10:22:16.649045+0200 Today[34769:491827] [Purchases] - ERROR: Error fetching offerings - Error Domain=RCPurchasesErrorDomain Code=23 "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).This could be due to a timeout, or a problem in your configuration.More information: https://rev.cat/why-are-offerings-empty" UserInfo={NSLocalizedDescription=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).This could be due to a timeout, or a problem in your configuration.More information: https://rev.cat/why-are-offerings-empty, readable
Hello,My team is having difficulty integrating RevenueCat into our Unity based game (iOS and Android). Are there sample applications for Unity that illustrate use of RevenueCat for subscription billing.
I have 4 buttons in my app for subscription and one time purchases. In android when we click on button its immediately loads pay-screen but in iOS its take some time to show pay wall. How to show a progress dialog until pay wall loads? I am using like this below!onClick: () async{ await Purchases.purchasePackage(package!);}
Hello! Enjoying using RevenueCat so far but I’ve hit a head dead with iOS integration. I’ve made sure my single product is “Ready to Submit” state on App Store Connect. I’ve made several sandbox apple accounts. My Bundle ID is set up correctly on the RX dashboard. When I go through the purchase flow it all looks successful (including Apple success dialog) but at the final step I get the following RC error: 2021-11-30 21:20:34.384306-0500 Pawp[372:8670] [Purchases] - DEBUG: ℹ️ PaymentQueue updatedTransaction: pawp_membership_monthly 1000000921455600 ((null)) (null) - 12021-11-30 21:20:34.389609-0500 Pawp[372:8670] [Purchases] - DEBUG: ℹ️ Loaded receipt from url file:///private/var/mobile/Containers/Data/Application/63B42ADB-A483-438C-87A1-B35A40640015/StoreKit/sandboxReceipt2021-11-30 21:20:34.389793-0500 Pawp[372:8670] [Purchases] - DEBUG: ℹ️ Found 0 unsynced attributes for App User ID: 872142021-11-30 21:20:34.391632-0500 Pawp[372:8670] [Purchases] - DEBUG: ℹ️ There are no requests cu
Hello,I have user crashes related to configuring Purchases. However, when i have experienced this crash, it is when i am trying to close the app. I have a single exit point and use:startActivity(intent);finish();before moving to a new intent. My exit looks like the followingThread.currentThread().interrupt();finish();System.exit(0);finish();Any thoughts?
At the moment I’m trying to read custom user attributes using the REST API.https://api.revenuecat.com/v1/subscribers/XXXXXXXXXXXXX'According to the following link this should be possible:https://docs.revenuecat.com/docs/subscriber-attributes#reading-attributesHowever; after a request I get the following data: without any attributes:{ "request_date":"2021-11-30T09":"16":09Z, "request_date_ms":1638263769288, "subscriber":{ "entitlements":{ "Pro":{ "expires_date":"2021-12-25T12":"38":30Z, "grace_period_expires_date":null, "product_identifier":XXXXXXXXXXXX, "purchase_date":"2021-11-25T12":"38":30Z } }, "first_seen":"2020-11-14T21":"10":39Z, "last_seen":"2021-11-29T15":"03":39Z, "management_url":null, "non_subscriptions":{ }, "original_app_user_id":XXXXXXXXXXXX, "original_application_version":1.0, "original_purchase_date":"2013-08-01T07":"00":00Z, "other_purchase
I have created multiple products within App Store Connect with the correct prices set in GBP. However when the IAP popup appears in the app the price is 10% greater that what I set in App Store Connect. For example one product has a price of £79.99 but when I try to pay for it in the app the price is £84.99. I am using the React Native SDK. IAP:App Store Connect:
Hello,Offerings are not loading for our users.Some of our live users have been affected by this issue.This is what we are getting in the sentry dashboard. Also, Users who are affected by this issue have an active internet connection. So, that's not the case. This is what we are getting as logPlatformException(10, Error performing request., {code: 10, message: Error performing request., readableErrorCode: NetworkError, readable_error_code: NetworkError, underlyingErrorMessage: Unable to resolve host "api.revenuecat.com": No address associated with hostname}, null)Please help us ASAPThanks
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.