Get help with your SDK implementation.
Recently active
// or if you need to present a specific offering:const paywallResult: PAYWALL_RESULT = await RevenueCatUI.presentPaywall({offering: offering // Optional Offering object obtained through getOfferings});This code is not working properly , always return the default offering
I am getting another random error in Production when I fetch my products. Is it better to hardcode my 2 offerings: Monthly & Annual instead of relying on RevenueCat `getOffering()` API which is resulting in errors too often? None of the errors happen locally, only in production. Logging is useless.
While I’ve previously (as of February?) been able to make sandbox purchases in my iOS app, they are now all failing. I initially get a “purchase was successful” message but then get: There was a problem with the App Store. Problem communicating with the Store when trying to validate the receipt. After the initial purchase attempt, these receipts get cached on the device and the verification is re-attempted on each start-up, with the same error. In addition, I’ll then see: Error computing offline CustomerInfo. Will return original error.Creation error: Unable to compute offline CustomerInfo when purchasing consumable products. I am testing on multiple devices (iOS 16 & 17). I am using Xcode 15.3. I’ve updated to the latest purchases-ios package (4.40.0 -- was previously 4.34.0). I’ve created new sandbox accounts. (This is the only way to get rid of the “cached receipts” above.) I’ve tried with the device logged into my Apple ID and App Store logged into sandbox (this is how it worke
When i try to open a paywall the apps crashes without returning any error.With Flipper Crash Reporter i can see the error :FATAL EXCEPTION: mainProcess: com.dev12br.coupleGame, PID: 19923java.lang.IllegalStateException: ViewTreeLifecycleOwner not found from android.widget.FrameLayout{b1c81c V.E...... ......I. 0,0-0,0} at androidx.compose.ui.platform.WindowRecomposer_androidKt.createLifecycleAwareWindowRecomposer(WindowRecomposer.android.kt:352) at androidx.compose.ui.platform.WindowRecomposer_androidKt.createLifecycleAwareWindowRecomposer$default(WindowRecomposer.android.kt:325) at androidx.compose.ui.platform.WindowRecomposerFactory$Companion$LifecycleAware$1.createRecomposer(WindowRecomposer.android.kt:168) at androidx.compose.ui.platform.WindowRecomposerPolicy.createAndInstallWindowRecomposer$ui_release(WindowRecomposer.android.kt:224) at androidx.compose.ui.platform.WindowRecomposer_androidKt.getWindowRecomposer(WindowRecomposer.android.kt:300) at androidx.compose.ui.platform.Abstr
Hi RevenueCat Team,I am getting the below error while fetching offerings only for some users and for most of users it’s working fine and payments are going through, “PurchasesError(code=ConfigurationError, underlyingErrorMessage=There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from the Play Store. More information: https://rev.cat/why-are-offerings….”We did fetched some details from the devices it is happening.They are completely valid model with latest Android versions.And also they do have Play Store installed with latest version.Also checked if they are eligible for a payment using callback provided by RevenueCat and it’s showing true.Any help would be greatly appreciated
I am good so far up to the point of being able to display the paywall, however, I don’t see any examples of how to handle the results once the user makes a selection.
ERROR: 🍎‼️ Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.)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-emptyand in app:Error 23: There is an issue with your configuration. Check the underlying error for more details Previously I’ve added a StoreKit Configuration file whilst working in simulators.I still face the Error 23 issue in TestFlight as many of my testers have reported. I’m running my code on device, not simulator to try debug this, and have not selected a StoreKit config file in my schema. I have also tried deleting my StoreKit config file as well. My subscriptions and in app purchases have the status “Waiting for Review” in app store connect. Error on my device endSchema run options
Google Play now supports in-app products with more than 1 quantity. Can’t find how to specify quantity via the RevenueCat Android SDK. Is it not implemented yet?
I am looking at the page Configuring the SDK, in the sub section, advanced configuration for iOS - https://www.revenuecat.com/docs/getting-started/configuring-sdk#ios and the documentation for this method is really limited.How do I know how to handle the completion block and what each of the arguments from that completion block do? An example in the docs of how to implement it would be really useful. Any help would be much appreciated. Thanks
When payment fails because I am already subscribed, I want to know the originalAppUserId of the subscriber.
Hi guys,We are building an app that user can have several groups that each group have a subscription plan (free, bronze, silver, gold). IOSSubscription GroupsFamily 1 fw1-google-plan1890 fw1-google-plan2890 fw1-google-plan3890 Family 2 fw2-google-plan1890 fw2-google-plan2890 fw2-google-plan3890 AndroidSubscription: Plan BronzePlans:fw1-google-plan1890 fw2-google-plan1890 fw3-google-plan1890 fw1-google-plan1890 Subscription: Plan GoldPlans:fw1-google-plan2890 fw2-google-plan2890 fw3-google-plan2890 fw4-google-plan2890Related to IOS, this is working well, but in Play Store, we are getting this error when subscribing to the play store: PG-GEMF-01
We’re using RevenueCat for subscriptions, but am now having issues with receiving the `onSuccess` callback when a user subscribes.If the user cancels the flow, we end up in the `onError` callback as expected, but when signing up we just don’t receive the callback, so the flow stops and doesn’t continue.Our implementation is working fine in production, but we’ve redone some of our signup flow, but we haven’t really (to my knowledge at least) changed anything in regards to subscription.The subscription code is called from a `ViewModel` and the function is called from a button click, so the call should be running on the mainthread (not sure if it matters really since it’s a callback).The code is fairly straightforward: Purchases.purchasePackageWith( activity = activity, packageToPurchase = packageToBuy, onError = { error, userCancelled → // Tell the View something went wrong. }, onSuccess = { transaction, customerInfo → // Call the View to update itse
Swift Package Manager,version4.39.0。 some users Why don't have callbacks?
I have an app that user can use to create new videos. I want to offer two plans, Lite and Pro. Lite subscription allows to create 5 videos / week. Pro version allows unlimited videos per week. How to implement this kind of subscription model? The main challenge seems to be checking how many videos are created during a billing cycle. Is there a way to get the current billing cycle information from the API?
Sorry for the long title! Basically, I am trying to just do the basic storekit-configuration json in my react native and expo project. I have the storekit-configuration.json that I copied and pasted from an Xcode project, but I am getting the following error: [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). To be fair, I have been getting this error even before I tried to use the configuration file, but I thought this would help. I’ve seen some similar issues and followed what they said, but it still will not work. Has anyone had luck with this?
My Environment:iOS 17 SwiftUI RevenueCat 4.33.0 Xcode 15.2My Problem:I have set up two subscriptions in Apple App Store Connect and RevenueCat according to the documentation with one entitlement (“pro”), 2 products, packages and one offering. I have configured a paywall in the RevenueCat dashboard. In App Store Connect, I have configured Sandbox test users. In my App I use Sign-in with Apple to sign in with the test user and I use the Apple user ID to sign-in with the RC appUserID. In the RC debug overlay, I see the correct user ID and the former anonymous user ID. When I open the RevenueCatUI PaywallView in my App running in the simulator, I see the 2 offered subscriptions. Then I click the buy button and the Apple purchasing dialog opens with the chosen subscription for the Sandbox User. When I click to buy the subscription, I hear a “bing” sound (normally indicating a purchase). Then the Apple purchase dialog disappears and a progress indicator is visible in the purchase button of
Hello, I have configured my app (flutter) with revenue cat. I have two groups of subscriptions, those from v2 and the new ones from v3, on IOS. My problem is that the some of the previous subscriptions are not detected (either naturally or by restoring purchases), even though they are in the same entitlement. The purchase restoration function doesn't return any errors, just the customerInfo, with allPurchasesdProductIdentifiers, expired date … but one one them, the valid one, is missing. My revenue cat version is up to date (purchases_flutter 6.25.0). The rest of the functions work fine: purchasing, cross-platform restoration, link to the .... account. Can you help me? Thanks in advance
We have bunch of applications live on App Store would like to create single subscription to unlock premium features on those all apps. We have gone through all documentation and understand about how we can implement same thing. We came out with this solution using RevenueCat.RevenueCat allows to create different apps under one project.We would like to know to evaluate our solution and want to confirm we are on right track or if you see any wrong implementation or if you have any better solution, then let us know.Solution:1. Create project "Single" and add all applications under that project2. Create one new subscription for each appFor exampleApplicationOne -> com.applicationone.singlesubscriptionApplicationTwo -> com.applicationtwo.singlesubscriptionApplicationThree -> com.applicationthree.singlesubscription4. Create new entitlement named "single-subscription" and add those products from all appsSo if that single-subscription product purchased from any app, it will unlock p
Hi guys has anyone worked with revenue cat for subscriptions before ? I have a weird error saying 'Error configuring 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-empty]'I am using this custom hook for it. Is there any obvious mistake? I am using the Identifiers in Apple App Store Connect ‘’This is my setup in the revenue cat dashboard
Hiwe experience crashes on Android that affect our crash rate on Google Play which is bad.We are using "react-native-purchases": "7.1.0"Sentry:NullPointerExceptionParameter specified as non-null is null: method kotlin.jvm.internal.l.f, parameter packageIdentifiercom.revenuecat.purchases.hybridcommon.CommonKt in purchasePackage at line 6com.revenuecat.purchases.react.RNPurchasesModule in purchasePackage at line 87java.lang.reflect.Method in invokecom.facebook.react.bridge.JavaMethodWrapper in invoke at line 149com.facebook.react.bridge.JavaModuleWrapper in invoke at line 148com.facebook.jni.NativeRunnable in runandroid.os.Handler in handleCallback at line 938android.os.Handler in dispatchMessage at line 99com.facebook.react.bridge.queue.MessageQueueThreadHandler in dispatchMessage at line 1android.os.Looper in loop at line 250com.facebook.react.bridge.queue.MessageQueueThreadImpl$4 in run at line 38java.lang.Thread in run at line 923
I have subscriptions in my app that include 7-day trials. RevenueCat handles introductory offers automatically, which is great. However, I want to provide additional custom promotional offers using Apple's "Promo Codes". Examples of these offers could be:3 months free 6 months freeMy question is: Does RevenueCat automatically manage the redemption and application of these custom promo codes? Or, do I need to handle this logic separately within my app?Any guidance or experience with this would be incredibly helpful!
Hello! Here’s the api url: https://api.revenuecat.com/v2/projects/${PROJECT_ID}/customers/${CUSTOMER_ID}/subscriptionsCorrectly Added header: headers: {'Authorization': `Bearer ${AUTHORIZATION_TOKEN}`,'Content-Type': 'application/json'}Here’s the response:{ "items": [], "next_page": null, "object": "list", "url": "https://api.revenuecat.com/v2/projects/XXXXX/customers/$RCAnonymousID:0ee378058790XXXXXXXXXXXX/subscriptions"}Customer has Yearly ACTIVE Subscription in Production. Could you please help how to retrieve Subscription items?Thanks!
Here I am instantiating the Purchases SDK:So according the docs, if I do not provide the app user ID, the Revenuecat should generate one: But when I try to print the app user id, it is returning null? Also I am confused with Purchases.logIn() and Purchases.logOut() methods as I can not figure out their purpose. Can someone also explain the following scenarios: 1)Let’s say user purchases subscription successfully and exits the app(not log outs, just closes the app) and when the user opens the app later how do we know that user is premium user?2)Let’s say user purchases subscription successfully and accidentally deletes the app. When the user downloads the app again how we gonna restore his purchase? I know there is Purchases.restorePurchase() but how does it know if the user has purchases the subscription before? Can you please explain it? P.S. Do not mention the docs please explain it in a simple way if possible.
Hello,long time ago, we were using `Purchases.shared.presentCodeRedemptionSheet()` to redeem offer codes but this was really unrealiable as the docs also state - https://www.revenuecat.com/docs/subscription-guidance/subscription-offers/ios-subscription-offersI am curious if this maybe changed in recent iOS versions? We support iOS 16+ and there is also this new method in StoreKit - https://developer.apple.com/documentation/storekit/appstore/3954431-presentoffercoderedeemsheet.Does anyone use it? Will it work with RC without any other “plumbing”? Or maybe the presentCodeRedemptionSheet already uses it under the hood?We currently redirect to App Store but were wondering whether it is now possible to offer better experience to the users. Thanks!
Hi everyone, I am new here. We’re using react-native-purchases for in-app purchases. Somehow, it was working fine till today on iOS and Android but things started to break on iOS ever since I have decided to delete subscription groups and items from App Store Connect. Basically, I deleted the previous subscription items (also the groups), then I created another group and put all new subscription item into that group. I didn’t touch the in-app purchases tho.When I started testing IAPs (subscriptions and consumables) using sandbox account and with my TestFlight account as well, I have been getting the following error:There was a problem with the App Store. Problem communicating with the Store when trying to validate the receipt.However, everything is working fine on Android. I have double checked my app store connect configuration and RC. Here’s my setup for RC (iOS):Created completely new project in RC ✅ Regenerated App Store Connect App-Specific Shared Secret ✅ Regenerated App Store C
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.