Discussion and help from anything related to RevenueCat.
Recently active
After upgrading Xcode I have this error and build failed.“Stored properties cannot be marked potentially unavailable with '@available' “Error is in BeginRefundRequestHelper.swift,ProductsManager.swift,PurchasesOrchestrator.swiftIs there any solution please?
My application (Mac OS, using StoreKit 2) has two subscription levels, each of which are sold at 2 durations - basic_1m, basic_1yr, professional_1m and professional_1yIf the user first purchases the monthly “basic” subscription (basic_1m), and then upgrades their subscription by purchasing the yearly “basic” subscription (basic_1y), they are told (by StoreKit) that their subscription will change to the new duration (and they will be charged the new rate) when their monthly subscription expires. This is as expected.Now, I wish to display that information to the user, but it doesn’t appear to be available through RevenueCat - the CustomerInfo shows the currently purchased subscription (basic_1m), even though the user has authorized the change in rate.Is there a way to get information about the upcoming subscription, as opposed to the current subscription?Thanks for your time - Ron
I’m implementing 2 promotional offers, and have been following the official documentation. I tried to add the source code in the docs to obtain the promotional offers, like this:if let discount = package.storeProduct.discounts.first { Purchases.shared.getPromotionalOffer(forProductDiscount: discount, product: package.storeProduct) { (promoOffer, error) in if let promoOffer = promoOffer { // Promotional Offer validated, show terms of your offer to your customers } else { // Promotional Offer was not validated, default to normal package terms } } } but I don’t know how to obtain ‘package’, which appears in the first line of the above code.
Hello,I have a bug where my Yearly package is missing in Release builds (but works in Debug and App Store, fails in TestFlight and App Review). My Lifetime and Monthly packages are returned file, and my Monthly package is part of a subscription group with the yearly I have checked:All IAPs are Approved All agreements are signed and active I am not using a StoreKit configuration file I have read the Why are offerings or products empty? help article, and verified everything.App Review has returned both Error 2 and Error 9 I will copy and paste the identifiers from both App Store Connect and RevenueCat here:Lifetime Package:ASC: com.willbishop.Simmer.simmeprolifetimeRevenueCat: com.willbishop.Simmer.simmeprolifetime Monthly:ASC: com.willbishop.Simmer.simmerpromonthlyRevenueCat: com.willbishop.Simmer.simmerpromonthly Yearly ASC: com.willbishop.Simmer.simmerproyearlyRevenueCat: com.willbishop.Simmer.simmerproyearly They are all a part of an offering called “Pestle Pro”, and are fetched like
Hello,I am in the process of migrating one of our apps to Jetpack Compose which is using RevenueCat for processing purchases. Earlier, the code to make the purchase was inside the Fragment and hence I was able to pass the Activity Context while calling the purchasePackageWith() function. However, now the code to make the purchase is moved to the repository where I am injecting the Context using Dagger Hilt. Since, the injected code is an Application Context I am unable to call the purchasePackageWith() function. I tried getting the Activity Context using the below code but it doesn’t work. fun Context.findActivity(): Activity? = when (this) { is Activity -> this is ContextWrapper -> baseContext.findActivity() else -> null} I can pass the Activity Context from the composable screen to the repository via ViewModel but that may leak the activity. So, is there any proper approach to do the same?
Hi We have an app with subscriptions sold using RevenueCat. When a child in a Google Family Plan try to purchase the subscription they see an “Ask your parent” popup, which I assume RevenueCat is showing? We have 4 parents who cannot find a way to authorise the subscription.Is there something we need to do in RevenueCat or on Google Play to enable them to authorise the subscription?
Hi,I need to implement a free trial period for a paid iOS app. How do I check if the trial period has expired with RevenueCat ?
User John Custom App ID: 8EFA Android Device A Android Device B Goole Play Account: John Goole Play Account: TomScenario:John logs in RevenueCat device A(John account) with custom ID(8EFA) and purchases Subscription $5 monthly Item. John logs in RevenueCat with the same custom ID(8EFA) device B(Tom account). Click the $10 monthly subscription Item.Expected Result: Pop up Message “The current Google Play Store account does not match the account you paid for” and link the managementURL deepLinkActual Result: Purchase process again. What I have done:I read this question. and Idea with Google Play Developer APISave play store account ID after purchase(using billingFlowParam?? or receipt) When subscription event fire, check current play store account and saved store accountHere is the questionHow to know current Google Play account Is it accurate above idea? or I would love to better idea
Hey! I have added the revenue cat uri on my project for server notifications on apple connect but it still does not trigger when it should. I added the revenue cat uri to both production and sanbox as version 2.When trying my subscription and the webhooks on play store it works as expected, but ios does not trigger until i open the app or like 15 min+ after it should. Any ideas why it does work or why it does not trigger?
Hello!Would it be feasible as a feature suggestion to have a “dynamic” observer mode setup? Use case: we have existing non-consumable IAP transaction handling code we would prefer not to touch, but subscriptions would be newly added, and handled entirely via the SDK. It would be nice to allow adding a callback in the form (StoreProduct) -> Bool to be able to split transaction management duties between the SDK and our own PaymentObserver. We will probably just migrate it to RC, but I think it makes sense as a feature request nonetheless. Best regards,Rafael
the subscription time is messed up toowhat I tried:grant entitlement manually; give the user promo code; ask him to switch back to original country; delete the user from db and give him promo code.none worked.have to ask for the refund.
After successfully activating a subscription in the sandbox, subsequent calls don’t appear to contain updated subscription info (the user’s subscription is still inactive)Is this the expected behavior in the sandbox environment?
Hello! Thanks for the awesome job on RevenueCat!I’m adding local StoreKit Testing support for quick device/simulator purchases and edge case testing to an app. The Xcode IAP server generates transactions which have increasing numerical IDs, that are obviously not unique. I can see that when registering them on RC, the server side does some magic to make it look real (i.e it seem to have added the local certificate name + purchase date nanoseconds epoch + the fake Xcode transaction ID). "purchased_at_ms": 1669666772000, "store": "APP_STORE", "takehome_percentage": 0.7, "transaction_id": "StoreKitTest_Transaction_1669666772000_11"The transaction from StoreKit / RevenueCat SDK is actually just “11”I have reproduced that logic on my test code, but it would be cool for RevenueCat to abstract that and provide us with this modified ID instead of the raw one from StoreKit, even if it is an additional field on the transaction instead of replacing itBest,Rafael
I have one offer that contains two packages. One of them includes an introductory offer (1-week trial). I just need to retrieve the introductory offer's data programatically. Thank you.
Hi, Product titles on Android seem to show “Product Name (<App Name>)”, which is super annoying for displaying in UI. Is there a way to prevent the app name being added to the end of the product name? Similar question on SO. https://stackoverflow.com/questions/16657310/how-can-i-avoid-app-names-in-inapp-item-titles-returned-from-google-play-getskud Thanks !
I’ve implemented in-app-subscription of google playstore using revenuecat and it’s working in testing/sandbox mode. Now I want to go live with in-app-subscription, Does same public api key will work? What steps I’ve to take?
Greetings, RevenueCat team & community Yesterday I found out that some customers don’t have premium access anymore to my client’s app - the premium access is offered through a monthly recurring subscription. Looking at their profiles in RevenueCat, a colleague noticed that the webhook delivery for the Renewal event was missing in the dashboard - please see the attached image. Thus, our backend had no idea that the subscription should be extended. Now we are in a situation where some customers paid, but don’t have access anymore. I exported a custom CSV list from RevenueCat for all renewals done on Nov 23 and checked them one by one, out of about 120 renewal events, 12 had missing webhook deliveries. I provided that list to my teammate and he manually fixed them in our database. However, there are probably more customers impacted than what I managed to find. Here comes the part where I need your help: Is there a way for us to get a complete list of impacted users so we can manually
Hi, we are setting RevenueCat first time. We have our subscription plans already set on Google n Apple stores. Do we need to set them up on dashboard again or revenuecat can sync them automatically?
Hi, Is there any way to either get restore purchase in the data RevenueCat is exporting to S3 or in the events that are sent to Amplitude?We are having a hard time merging users that do a restore purchase on a different device. It’s two different users on Amplitude which is not correct. For now, we don’t have user accounts on our app, so we don’t have a specific id for each user but an id based on the device.Thank you,
Hello,I know based on legal/irs rules, we are not allowed to collect subscriptions and manually pay the person the end user is subscribing to. I know stripe has connect, which the 3rd parties authenticate and provide their payout details (ach or otherwise). Then they also deal with creating the IRS forms and such. Does Revenuecat support taking subscriptions on behalf of another business entity?
I am unable to load an IAP/subscription after it has been approved for over 48 hours. Left a comment on an older post, but wanted to make a second thread for visibility. (Hope that’s cool) If I run the app on simulator, a local device, or test flight everything loads perfect.Subscription has been approved for over 48 hours. Subscription loads fine on local/testflight. Filled out all agreements.App is in pending developer release. I downloaded the app from the app store with a generated code, and in app purchases do not work.I ran the production app and plugged my phone in to view the console. Still getting “Could not find SkProduct for ( “my_product_name”) There is a problem with your configuration”, but only in production. “my_product_name” is not in the actual log, I did not include my real product name. I was wondering if there is anything I could still be missing, or do I need to wait longer? The in app purchase was approved on Saturday at 11 AM. It is not Monday, 6:45 PM.Any help
Hi, How would you go about stacking on top of a subscription. For example user “A” has monthly basic subscription for $5 which allows 1 account to be monitored, say they want to add an extra account to be monitored for an additional $3 but still remaining on the basic option, meaning the total new subscription amount will be $8 per month.This should be dynamic so that if the user wants to add any given amount of accounts it would still workHow would you be able to go about this?Thanks in advance 😎
Google has just announced changes to how they handle subscriptions: https://developer.android.com/google/play/billing/compatibility and https://support.google.com/googleplay/android-developer/answer/12124625 While existing subscriptions will continue to work, there are new ways to create offers and even new (on Android) subscription types like prepaid. Does RevenueCat already have a timeline how and when all of this will be supported both in SDK and dashboard? FYI: I’m also seeing the following warning in our Play Store account - I guess RevenueCat is using the InAppProduct API: “You're using the InAppProduct API to manage subscriptions, which is no longer updated. Start using the new Subscriptions API to get new features including multiple base plans and offers, as well as prepaid plans.”
is there any phone support - I spend a day trying with both cocoa and swift package manager - nothing seems to work.
Im having some problems installing the revenuecat package using swift package manager. This happens when I try and clone a project from scratch and install the required packages. The error reads“Dependencies could not be resolved because no versions of “purchases-ios” match the requirement 5.5.0 and root depends on “purchases-ios” 5.5.0.”If anyone could has experienced this problem before and knows of ways to solve it that would be very helpful. Thanks! Michael
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.