Get help with your SDK implementation.
Recently active
Hello, I have a case that I can’t seem to handle. Currently, if User1 with an alias logs in to the application from a device and buys a subscription he will get it just fine. Next, User1 does a logout and User2 will login on the same device and then something strange happens. The subscription is being transfered from User1 to User2. Is there any way to avoid that and link a subscription to the User ID alias?Also, is there any way to get a purchaseinfo by alias? Thank you
Latest Purchase Date of user a/c to the purchaser info library is: 2022-05-16I purchased the product today (17th) but still the last purchase is on 16th Why does the RevenueCat not updating the value when I am fetching latest purchase in code where as on the dashboard it shows all the information ?
Can I do in app purchase on WebGL?
I created a subscriber using the api https://api.revenuecat.com/v1/subscribers/app_user_idI can not find this subscriber in customer list, I checked in active,sandbox, non-subscribers and expired sections. But when I search for the user app_user_id, I can find the user. Why is that?
Hey there, I have looked online and in the forums but could not find a way to configure the HTTPClient with customable timeout.Basically from my code overview (iOS SDK - https://github.com/RevenueCat/purchases-ios) the HTTPClient is internal to the SDK and you cannot configure it - am I wrong?We suffered from long timeout today which caused our application to hang.It could be a nice addition to the Purchases singleton API to add additional configuration for different underlying services the default o60 seconds of NSURLSession is obsolete.I also encoutered this PR - https://github.com/RevenueCat/purchases-ios/pull/910 that enabled timeout for SKProductRequest - again allowing to configure it from outside of the SDK could be handy.
Im wondering why is it that i retrieve data back from “getOfferings” but not "getProducts”. I’d imagine that the fact that im receiving data for “getOfferings” means my current setup is correct. Any insight on this? Is there something more needed for “getProducts” to work?InfoExpo SDK 44react-native-purchases 4.5.3 Observed on iOS// Example response: await Purchases.getOfferings().all['Default']{"availablePackages": [{"identifier": "$rc_lifetime", "offeringIdentifier": "Default", "packageType": "LIFETIME", "product": [Object]}], "identifier": "Default", "lifetime": {"identifier": "$rc_lifetime", "offeringIdentifier": "Default", "packageType": "LIFETIME", "product": {"currency_code": "USD", "description": "Anime themed game deck!", "discounts": [Array], "identifier": "AnimeYouShouldKnow", "introPrice": null, "intro_price": null, "intro_price_cycles": null, "intro_price_period": null, "intro_price_period_number_of_units": null, "intro_price_period_unit": null, "intro_price_string":
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
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.