Get help with your SDK implementation.
Newest first
In apps that sell consumables items (e.g. gems), from what I understand, it’s necessary to provide a server to track the gem balance for a particular user. I’m not clear on what the requirements are for the origin of that user. Is there a way to avoid creating auth flows in the mobile app and rely upon RevenueCat to coordinate the various anonymous IDs associated with the Apple ID? Can this work between app deletes and re-installs? In summary: Is there a way to track consumables (and the their balances) between app re-installs without needing to implement auth in the client. Thanks!
We have native iOS app with revenue Cat, its work perfect. Now we rewrite our app with Flutter framework. In app written with flutter we use revenueCat too and it works perfect on Android(release) and iOS(test flight). Imagine user bought subscription in native iOS app, then we realese new version app written with flutter, user install it and want to restore subscription. Now question will the subscription been restored ?
I have been looking in the documentation but didn’t see anything related to flutter for redeeming a coded!I have implemented the auto-renewable subscription with 1 month free trial in my Flutter app and have tested using Sandbox on iOS and works fine. How can I redeem an offer code using Flutter?
Hello,We have started using Revenue Cat to manage in-app purchases, but we are having trouble recovering purchases that were not made via RevenueCat on Android. We login the user via SDK using Purchases.sharedInstance.logInWith("our-custom-user-id"). We wait for a successful response and if the user is logged in for the first time, we call Purchases.sharedInstance.syncPurchases() to sync the purchases not made via RevenueCat. The problem is the "timeline" of events. See screenshot.The webhook for the purchase was sent with an anonymous user ID because an alias was not created at the time. We are unable to sync purchases on our backend with an anonymous user id. Since the "SUBSCRIBER_ALIAS" webhook is deprecated, we are unable to wait for this webhook and sync purchases after that. Please help. Do you have any solution for this?Thank you in advance for your reply.
I have an app with IAP in SwiftUI. When I showing purchase info to the user, I use ```swiftText(package.storeProduct.localizedTitle)Text(package.storeProduct.localizedDescription)Text(package.storeProduct.localizedPriceString)``` I noticed that “localizedPriceString” was changed base on the system region settings. However, “localizedTitle” and “localizedDescription” were fixed. I have localized for en-US, zh-Hans, and zh-Hant in my IAP settings. But I can only get Simplified Chinese localized strings in RevenueCat, it never showed the other two localized strings.
I am wanting to change a user’s current offering depending on how they answer certain questions in our onboarding flow (before seeing the paywall). I am able to successfully update their current offering using the REST API, but when the user reaches the paywall, the “standard” current offering is still shown, not the user’s customer current offering. I read somewhere that the current offering is cached on app launch. Is there any way to refresh this without having to restart the app?
Hello, We’re using the React Native SDK for an Android and iOS app. We have received some reports in social media from users complaining that they have been charged immediately after purchase despite the product having a 7 day free trial. We don’t have any user Ids to check in the RevenueCat dashboard yet but we’d like to understand better how free trial eligibility works in the React Native SDK. Does checkTrialOrIntroductoryPriceEligibility work on Android with the React Native SDK? I’ve seen another post from an Android native user that a different mechanism is necessary If the method returns INTRO_ELIGIBILITY_STATUS_UNKNOWN, is it safe to assume that the user is not eligible? Are false positives (is not eligible, unknown is returned) or false negatives (is eligible, unknown is returned) more likely? If a user has already consumed a free trial and they attempt to purchase a free trial product, they will be charged immediately, is this a correct assumption?Thanks in advance. Regards
Hello,I have tested subscriptions using RC and verified that the transactions appear in the Sandbox. Now I want to test purchasing In App Products from Google Play. I have set up the products in play console and configured the products and offerings in RC as well. I was able to use the RC API to make the purchase using Test Card from my app but the transactions don’t show up in the Sandbox. Is there a different place where non-subscription transactions are stored?
I have created a product in google play console, and I also created a revenuecat product with the same id, but the the following line of code returns an empty array.// Fetching all products by passing an array of their product_idconst products = await Purchases.getProducts(['product_id']);// Printing the list of products available.console.log(products); // Example response:[]Project info:Expo SDK version: 45 React native: 0.68.2 react-native-purchases: 4.6.1 Device tested: android
Hi,Before integration with RC, we had only non-consumable IAPs, now we want to release auto-renewable subscriptions with RC SDK.We added non-consumable IAPs to the entitlement with subscriptions. That seems to unlock a feature under that entitlement for customers with lifetime access.So what is the benefit of performing `syncPurchases()` for users with lifetime access since they get the access the entitlement already?
Hi there, I have a “Lifetime Pro” inapp product. After I refunded this through Google Play it is still fetched as a bought product by Revenuecat. How can I securely verify that my non-subscription product is not refunded?This function is essential for me as it would be too easy for users just to buy the lifetime product, directly refund it and enjoy the lifetime pro for free. Appreciate any help.
I use com.android.billingclient:billing:4.0.0 on my application and purchases_flutter 3.10.0 for the revenuecat subscriptions.From May 2022, users can't see the free trial or intro price options. Then, I messaged the GooglePlay and they replied as below:Hello Google Play Developer, Due to a bug in our system, since May 3, 2022, you may be experiencing incorrect or missing subscription information in the results from the Google Play Billing library’s deprecated querySkuDetailsAsync() function. During this time the Google Play Billing library may not have returned information to your apps about free trial and intro price offers for one or more of your subscriptions, even if the user was eligible for these offers. In these cases, users only saw the subscription base plan in the purchase cart, without any free trials or intro prices.Action RequiredWe recommend that you review all of your subscriptions with free trial and intro price offers in the Play Console, and ensure that the correct o
Hey everybody,I started to implement RevenueCat today into our existing Flutter app and so far I’m really enjoying is. The only thing I’m wondering right now is, is the following debug message that shows up all the time: [Purchases] - INFO: ℹ️ Purchases instance already set. Did you mean to configure two Purchases objects? What I’m doing so far in my code is to initialize the Purchases like that: Future<void> initSubscriptions() async { await Purchases.setDebugLogsEnabled(true); if (Platform.isAndroid) { // TODO Setup Google // await Purchases.setup("public_google_sdk_key"); } else if (Platform.isIOS) { final bool revenueCatAlreadyConfigured = await Purchases.isConfigured; if (!revenueCatAlreadyConfigured) { await Purchases.setup("<my_api_key>", appUserId: "SIMULATOR-TEST-CLIENT"); print("iOS setup finished"); } else { print("RevenueCat is already configured"); } } else { print("Platform doesn'
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?
Hello, I am implementing a paywall and I want to keep the products displayed as dynamic as possible. I want to display the title and description of the product on iOS, but it is returning an empty string for both properties: I am using StoreKit with XCode to test properly on my iOS simulator using React Native: This is my App Store Connect configuration (it is in Ready to Submit state): It is working properly for Android (except it is not returning the description, maybe to due to the fact that there is no description provided for the subscription on Google Play Console):
On occasion we get an error from the update subscriber attributes API. We are not sure what is causing the error since we are following the documentation. Here is the error response: {‘code’: 7259, ‘message’:‘Subscription not found for subscriber’}
This may be more of a support question, but for some reason I am no longer fetching the title for one of the two subscriptions available in my Flutter app, and only on iOS - Android works fine.I have two subscriptions available for a game - one that allows unlimited play time (energy), and a second that allows unlimited chips (which are used for hints and other things that are not necessary for play). The subscription for Chips retrieves all information correctly, but the info for Energy is missing the title. Immediately after getOfferings:final offerings = await Purchases.getOfferings();return offerings.all;The offerings.all has the following (from the VSCode watch window) running on an iOS Sim:As I understand it, the product titles are taken from the App Store settings for the subscription item, specifically, the “Reference Name” (which is the only place where the “Unlimited Chips - monthly” string is set, and is set similarly for Energy. In fact, it isn’t possible to have a subscr
Hi there,is there a way to check if a user has currently subscribed to a specific package? The use case is that I want to have a monthly and a yearly subscription for pro access. If a user has subscribed to one of both, I want to mark it accordingly in the UI and disable the buy button.I can’t just check if the pro-access-entitlement is active because both the monthly and the annual subscription refer to the same entitlement. Any ideas?Best, Tobias
I am using the flutter SDK to integrate IAP to my app and i am using the non renewable subscription model. I want to get a unique transaction ID issued by apple to send to my server to store it if the user wants to refund his purchase in the future.
Hi, I am facing with this issue:Unable to load receipt, ensure you are logged in to a valid Apple account. The receipt is missing. I am able to get products and also able to able to see and buy them. But after I click OK, I got the error message. I don’t know why this is happening. Apple Store rejected my binary couple of times. With a physical device I can buy the product but with the simulator it works until the receipt error. Thank you.
Currently in CustomerInfo, there are properties like originalPurchaseDate and originalApplicationVersion for grandfathering users but I found originalTransactionID missing. originalTransactionID was useful to identify Spam users with shared Apple ID accounts. Is it possible for RevenueCat to expose this property so that we don’t need to add a duplicate logic to decode the App Store receipt?Thanks.
How to solve this missing lib on android?I have installed cordova and capacitor plugins for ionic by following this guide :https://ionicframework.com/docs/native/purchases$ npm install cordova-plugin-purchases@2.3.0 $ npm install @awesome-cordova-plugins/purchases $ ionic cap sync package.json I have those : "@awesome-cordova-plugins/core": "5.43.0","@awesome-cordova-plugins/purchases": "^5.44.0","cordova-annotated-plugin-android": "^1.0.4","cordova-plugin-purchases": "^2.3.0",
Fetched all offerings with accurate details Create a closed testing release with testers (Successfully published) Using a real device with logged in email in the play store that is included in the testersAll of the necessary steps to test the subscription feature have been done but still I’m getting : D/[Purchases] - DEBUG(10299): ℹ️ Vending Offerings from cacheD/[Purchases] - DEBUG(10299): ℹ️ Checking if cache is stale AppInBackground falseI/flutter (10299): PurchasesErrorCode.productNotAvailableForPurchaseErrorI/flutter (10299): The product is not available for purchase.
Hi there, so my app has a few options for subscriptions. A couple of those options have an introductory offer. When my app builds my paywall VC it fetches all my products from Revenuecat and uses them to fill in the regular price from the products respective .localizedPriceString. The setup function then passes through a guard which checks if the user has subscribed before by calling .getCustomerInfo and verifying if both .entitilments.all and .allPurchasedProductIdentifiers are empty. If they both come back empty then the introductory prices are added to my paywall vc as well to be presented to the user.In my own sandbox testing this seems to work fine. I submitted my app for review, and it has been rejected a few times now. The first couple were for other issues so assumed the paywall experience was fine. The Revenuecat customer sandbox account seemed to say so. However I have now been rejected a couple times in a row because my paywall is preseting the reviewer the intro pricing but
So we get rid of all AppStore/PlayStore integration for processing payment and rely fully on RevenueCat webHook.the main issue that we encounter so far is that when we have a restoreSubscription the RevenueCat webHook does't react also if user has a purchase already and he receive "You are currently subscribed to this" and press OK again the RevenueCat webHook does't react.How can we manage this 2 scenarios ?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.