Get help with your SDK implementation.
Recently active
Hi!I’ve set up two types of prices in Google Play console, default price for everyone and custom price for few selected countries, so for example “package_one” default price is 4.99 Euros but I have also set same package price for Germany to be 3.99 Euros. My problem is that when I open the store from Germany it still shows the default prices 4.99 instead of 3.99. Can you help?
Hi,The following issue (https://github.com/RevenueCat/react-native-purchases/issues/200) was closed but I am still experiencing the error when I do a release build of a new scheme (i.e. staging, prod etc) of my React Native app. This was fine until now as we had a workaround of removing the `build` and `pods` folders and reinstalling the pods i.e. `rm -rf ios/build && rm -rf ios/pods && yarn && cd ios && pod install` every time we switched schemes and wanted to do a new release build.However, in the last few days, we have added an Apple Watch Extension to our RN app which is built using SwiftUI. Anytime that we try to build the Watch App with preview mode enabled (https://developer.apple.com/documentation/swiftui/previews-in-xcode) it fails with the following errors.Declaration of 'RCPurchases' must be imported from module 'Purchases' before it is required Could not build Objective-C module 'PurchasesHybridCommon' Is there any workaround to this? It is
In our RN app we make a call to `Purchases.getOfferings()` in order to show the default offerings to our users. However we are getting far too many API error response’s back which is degrading our user experience. Below is an example of the error response:```{"code":"23","message":"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).\nThis could be due to a timeout, or a problem in your configuration```Do you have any suggestion’s on how to improve the stability of this API when calling it directly from the client?
Hi all,I tested various setups now and when I am fetching my active entitlements like...Purchases.getOfferings().then((value) async { PurchaserInfo purchaserInfo = await Purchases.getPurchaserInfo(); EntitlementInfos _infos = purchaserInfo.entitlements;}...I get correct data right after the purchase until the first renewal, after that, my monthly subscription is missing in purchaserInfo.entitlements.active even though it is still active in Play Store and order management does not show any purchase errors, only normal renewal. Then its seems, that right after the second renewal, I get correct data again, meaning that my monthly subscription is showing up again in purchaserInfo.entitlements.active. It seems others had similar issues, and this is preventing me to go into production as uncontrolled cancellation would not be very nice.It seems that this is an RC issue, any help with this is highly appreciated.Thanks in advance!Severin
As RevenueCat won’t validate purchases in sandbox mode, we need to use Live App Testing for Amazon.However, as far as I can tell, any purchases made in Live App Testing seem to be doing actual purchases. I can see the purchase in my actual account and resetting entitlements on the Amazon dashboard seems to have no effect.Is there some other config I need to be doing so I can do actual testing?
I have an educational app that is structured around courses. My subscription offering has two options: "single course" and "unlimited".The problem is that with a "single course" subscription, I need to track which course the user subscribed to across devices. Can RC help me do this?It seems like `setAttributes()` would help here, but there's no corresponding `getAttributes()` in the SDK.
Hey guys. My app crashes about 30% of the time after user purchased the in-app-subscription. The issue occurs only on android. I use:react-native 0.63.4 react-native-purchases 4.5.3The error:The main error is: “Input dispatching timed out (Waiting to send key event because the focused window has not finished processing all of the input events that were previously delivered to it. Outbound queue length: 0. Wait queue length: 1.)” Sometimes: Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50200010 }In 2 files:com.android.billingclient.api.ProxyBillingActivity MainActivity It happens only after purchase. My MainActivity is pretty empty. I only use:@Overrideprotected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);// SplashScreen.show(...) has to be called after super.onCreate(...)// Below line is handled by '@expo/configure-splash-screen' command and it's discouraged to modify it manuallySplashScreen.show(this, SplashScreenImageResizeMode.
After successful purchase via Purchases.shared.purchase(package: product) i get outdated CustomerInfo when calling Purchases.shared.customerInfo(). It reports purchased entilement as inactive. I have to either use syncPurchases or listen to CustomerInfo updates using Purchases.shared.customerInfoStream but both produce unnecessary overhead.I got up-to-date CustomerInfo until recently. Am i misunderstanding how SDK works?
So I’m getting ready to launch our company app that features a paid subscription model. The app is built in Unity and we’ve been testing the features through testflight for the last few months now. A few weeks ago I looked into the advantages of using RevenueCat to manage the subscription side of the app. Below are a few questions and issues I’m having and wondering if anyone can help me.I’ve gone through the step-by-step guide on how to implement RevenueCat into my Unity project. At the moment I’m just trying to get the basics working. As a start all I’m looking to do is pull in the different products from our App on RevenueCat and display them on screen.I’m wondering if it’s possible to test this in the Unity Editor. Am I able to pull in the subscription products from RevenueCat when running from the unity editor? Or is it exclusive to running the built app on a phone. ( Currently when i run in the editor with the existing code i’m getting a null reference error on “_wrapper” in the
Hi there.I’m migrating my app from Java to Flutter and actually I’m using 1 annualy subscription with Play Billing that has about 100 users.I have their tokens but not the app_user_id. It is complicated for me to understand the documentation since I don’t know if I can upload data manually or what else.
Hey, I am trying to publish a new app to Apple App Store. I get the following rejection message; “in-app purchase functionality is not present in your binary….Alternatively, if you do not want to include in-app purchase products in your app, it would be appropriate to remove any unused in-app purchase products from App Store Connect.” Any suggestions on what should I do to fix this? Regards Shubham Jain
Suddenly started having these compiler errors and no idea why.
Trying to add RevenueCat to IOS project. Get an error that the package is corrupted. Please see the 2 attachments.
Goal:We want to test our In-App Purchase Flow end-to-end in TestFlight using a sandbox account and see sandbox data in RevenueCat and receive the associated webhook events. Problem:Our app has not yet been approved on the apple app store. It appears I can only provide App Store Server Notifications URLs in the App Store section under App Information. I don’t see a way to add them to a TestFlight build. Question:Is there a way to accomplish my goal before being approved on the app store, or is that a prerequisite of receiving webhook events from sandbox IAP transactions? Thanks!
After purchasing the app for 11.99€ in the Amazon App Store, the amount is shown as 1199€ or 1298.05$. The problem is probably the German representation of “11.99” as “11,99”, which is being parsed as 1199.
Hello, We’ve tested with multiple store accounts and we’re running into the same issue: The first subscription purchase works correctly After several renewals the subscription auto-expires, as expected When we attempt to re-subscribe, Purchases.purchaseProduct resolves without showing the App Store purchase flow, or actually renewing the subscription.
I am working on implementing RevenueCat into my iOS App. I am able to make purchases using the sandbox environment and within the RC Sandbox Dashboard I am able to see that the Firebase Authentication id I am using is displaying properly as the RC Unique ID. To be clear, I am using the automatically generated Firebase Authentication Unique Identifier as the UID on RC. The issue I am having is determining the subscription state. Following along with the example project included in the swift package. I am attempting to determine state using the following code… @Published var customerInfo : CustomerInfo? { didSet { subscriptionActive = customerInfo?.entitlements[entitlementID]?.isActive == true } } I have noticed that upon launch, I am unable to retrieve customerInfo however, when I logout then log back into my Firebase Auth account - it will display customerInfo? I am not sure where I am going wrong.
Hi,I've the following class that handles everything regarding RevenueCat. My current problem is that I just don't get the current state of my subscription. So the point after purchase was clicked. Is it useful to have this class as a singleton like I've it here? Or rather as an EnvironmentObject?If there's still missing information - please don't hesitate to ask. enum EUserSubscriptionState { case SUBSCRIBED case UNSUBSCRIBED case NONE }enum EUserSubscriptionType { case TRIAL case BASIC case NONE} class SubscriptionManager: ObservableObject { @Published var subscriptionType: EUserSubscriptionType = .NONE @Published var subscriptionState: EUserSubscriptionState = .NONE @Published var isSubscriptionSheetShown: Bool = false static let shared = SubscriptionManager() private init() { Purchases.shared.getCustomerInfo { info, error in guard let info = info, error == nil else { return } if info.entitlements.all["Basic"]?.
Hi, Is it possible for the RC in-app SDK to grant a user a promo (free access) using the public key? We do this with our website, but I want to deep link certain users to get free access. So I want to use the RC SDK to start RC promos. Is this possible? Thanks, Toby
Hi, after i buy my subscription, purchaserInfo show sometimes indicates a purchase, sometimes not With Android Emulator / Flutter Here is my code to check checkPremium() async { Purchases.addPurchaserInfoUpdateListener((purchaserInfo) async { PurchaserInfo purchaserInfo = await Purchases.getPurchaserInfo(); (purchaserInfo.entitlements.all["remove_ads"] != null && purchaserInfo.entitlements.all["remove_ads"]!.isActive) ? print("Active") : print("Not Active"); setState(() {}); }); }
Recently, we have run into cases where using multiple Android devices leaves our users in a state where they have no entitlements. Repro Steps:1.) On the RevenueCat dashboard, set “Restore Behavior" to “Transfer Purchases”.2.) On Device #1…. - Log into Google Play with your account. - Install our app. - Launch our app (configure() is called at startup with a null user ID) - Create an account. (login() is called with the new user ID) - While logged into this new account, purchase a subscription managed by RevenueCat.3.) On Device #2… - Log into Google Play with the same account from Step 2. - Install our app. - Launch our app (configure() is called at startup with a null user ID) - Do not log in yet.6.) Notice that the subscription that was purchased on Device #1 is transferred from the user’s account to the anonymous user that was created when the application was launched for the first time on Device #2. This is denoted by “Got their purchases transferred from another user” on
In the SDK docs it is mentioned that the SDK caches user information. What is the TTL on the cache information? How stale can the information get? If a user leaves the app in the background for a few days does the SDK refetch information when the app is opened back up? https://docs.revenuecat.com/docs/purchaserinfo#get-user-information
Is it possible to get the value of currency in initial_purchase web hook. Initial_purchase webhook return currency: null when trial is provided to the user. I need a currency value to create subscriptions in my system.store: Amazon
Hi RevenueCat,After renew subscription, the isActive become to false, I got the log:EntitlementInfo(identifier='Premium', isActive=false, willRenew=true, periodType=NORMAL, latestPurchaseDate=Tue Apr 19 15:22:10 GMT+07:00 2022, originalPurchaseDate=Tue Apr 19 15:22:10 GMT+07:00 2022, expirationDate=Tue Apr 19 15:29:08 GMT+07:00 2022, store=PLAY_STORE, productIdentifier='com.test.nightshade.one.monthly', isSandbox=true, unsubscribeDetectedAt=null, billingIssueDetectedAt=null, ownershipType=UNKNOWN)I saw somethings:ownershipType is UNKNOWN → it should be PURCHASED isActive = false + willRenew = true → it should be isActive = true + willRenew = trueDo you know why it’s happen and how to fix it?---------------------------------------SDK Version: 5.0.0-rc3Operating System: android 9
Hello!I have used block transfers as a restore behavior in revenue cat in accordance to my application’s business logic which is:If User A subscribes to product and his subscription in underlying store is active then the User B shouldn't be able to make the purchase, but if the subscription of User A in underlying store is expired then the User B should be able to make the purchase.Currently I am facing issue of There is already another active subscriber using the same receipt.while trying to purchase from User B even if the subscription purchased by User A is expired. For the desired behavior when the subscription of User A is expired then the purchase should be transferred to the User B but if the subscription of User A is active then the purchases shouldn’t be transferred to the User B.Is there any way that I can achieve this desired behavior? If not is there any workaround for this ?
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.