Get help with your SDK implementation.
Recently active
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, 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):
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
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,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
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.
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’}
Before RC integration I’ve only had a non-consumable IAP for lifetime unlock, I’m adding subscriptions now with RC. Since subscriptions are new, is it OK to skip syncPurchases or is it needed in any way for migration of the non-consumable IAP?
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.
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.
Hey all,I am a bit confused on how best to setup subscription groups on iOS and would love your help.On my app I’m adding 3 service levels (Silver, Gold, Platinum) with 4 durations each (Monthly, 3 Months, 6 Months, Annual). The 3 service levels are setup as entitlements on RevenueCat and they are set up as 3 separate subscription groups on App Store Connect.While testing, I realized that a user could be subscribed to all 3 simultaneously and upgrading/downgrading does not automatically work as I didn’t specify anywhere that one subscription is a down/upgrade of another. From my understanding on this and this post, Apple would automatically manage the up/down/cross grading with refunds and billing. My question is; to set everything up correctly, would I need to have 1 instead of the 3 subscription groups I currently have for each service level on App Store Connect and pile all the 12 products under 1 subscription group? Or did I start off correctly with 3 subscription groups and would
Hello, We are experiencing consistent crash after a test subscription purchase in our Android app.The purchase first seemed to be successful, but after a short time, the first crash occurs and the crash message appears every 30 to 50 seconds from the background.Also, re-launching the app also crashes after the purchase(the purchase might have triggered something). Here is the crash log:23:38:39.533 26296-26521/? E/AndroidRuntime: FATAL EXCEPTION: Thread-12 Process: com.company.app, PID: 26296 java.lang.NoSuchMethodError: No virtual method getSku()Ljava/lang/String; in class Lcom/android/billingclient/api/Purchase; or its super classes (declaration of 'com.android.billingclient.api.Purchase' appears in base.apk) at com.revenuecat.purchases.google.PurchaseDetailsConversionsKt.toRevenueCatPurchaseDetails(purchaseDetailsConversions.kt:16) at com.revenuecat.purchases.google.BillingWrapper.toMapOfGooglePurchaseWrapper(BillingWrapper.kt:401) at com.revenuecat.purcha
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.
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",
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 ?
I’m invoking Purchases.shared.purchase on a new iOS app I’m building and all is connected and configured properly (I think), this is what I get: 022-06-21 15:00:24.660227+0100 Mindworks[29422:726454] [Purchases] - DEBUG: ℹ️ API request completed: GET /v1/subscribers/$RCAnonymousID:1001512f67bb474d872e2adbe6ef3a22 3042022-06-21 15:00:24.664658+0100 Mindworks[29422:726454] [Purchases] - DEBUG: ℹ️ Sending latest CustomerInfo to delegate.2022-06-21 15:00:24.664755+0100 Mindworks[29422:726454] [Purchases] - DEBUG: 😻 CustomerInfo updated from network.2022-06-21 15:00:24.664820+0100 Mindworks[29422:726454] [Purchases] - DEBUG: ℹ️ GetCustomerInfoOperation: Finished2022-06-21 15:00:24.664994+0100 Mindworks[29422:726454] [Purchases] - DEBUG: ℹ️ Serial request done: GET subscribers/$RCAnonymousID%3A1001512f67bb474d872e2adbe6ef3a22, 0 requests left in the queue2022-06-21 15:00:24.665013+0100 Mindworks[29422:726540] [Purchases] - DEBUG: ℹ️ GetOfferingsOperation: Started2022-06-21 15:00:24.665164+0
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
I am migrating my Objective-C game project to V4 but can’t get past a ‘Module 'RevenueCat' not found’ build error.I have added the RevenueCat-Swift.h file and referenced it in the Bridging-Header.h file.I have upgraded Pods. @import RevenueCat; causes a build error. Completely stuck.
Hello. I'm interested in understanding how installing the app on a new device with the same app store id is handled when both devices are logged in with different anonymous revenue cat ids. Will the user have to restore purchases every time they switch devices, because of the "transfer purchase" behavior or are the two anonymous ids reconciled by revenue cat as belonging to the same App store id? Thanks!
Environment: iPadOS 14. I understand that when an anonymous user reinstalls and deletes the app, caling Purchases.configure generates a new app ID, and when he calls restore, the purchase is transferred from his old anonymous ID to his new one. What happens to an anonymous user’s ID if he buys a subscription on device A, then restores on device B.Will device A still be logged in?
Hello, I have been using the SDK pretty successfully during testing. Decided to take a break came back 2 weeks later and all of a sudden I am getting “Item not available in your country” error messages when trying to subscribe to any of the subscriptions I have up on my app(APK running on a physical machine at the mo for testing.)The base plan activated for all the products does include United Kingdom and the Google account I am using to make the purchase is also United Kingdom.I’d be more wary of this being my own introduced bug If I was actually changing the code over the last 2 weeks. - hence me reaching out. ScreensError message on display under every subscription available:Google account:Item availability in Google Play Console:Any advice would be greatly appreciated - thanks in advance. David
I integrated RevenueCat into an app written in Swift and SwiftUI. It worked all well until now.All of the sudden Xcode throws these two errors when building the app: Could not build Objective-C module 'RevenueCat'At the import RevenueCat statementHeader 'RevenueCat-Swift.h' not foundIn a modul.modulemapThe Content of the modulemap is as followed.framework module RevenueCat { umbrella header "RevenueCat-umbrella.h" export * module * { export * }} module RevenueCat.Swift { header "RevenueCat-Swift.h" requires objc} The weird thing is, that after rebuilding the app once or twice, the errors disappear.However, if I try to archive the app, they pop up every time and prevent Xcode from archiving the Build.I updated to the lates Xcode version some days ago, beside that there's nothing special that could point to the start of the problem.Any Ideas on that?
Hi,I’ve setup my App Store Connect with a test product and added to RevenueCat too. Also installed the latest version of RevenueCat in my iOS app - now I’m trying to do a test subscription purchase on a physical device from within my app but hitting a problem.I see all the initialisation debug messages from RevenueCat in the XCode debug window - however, when I’m making the call to Purchases.shared.getProducts([“my_product_id”]), RevenueCat is not returning any product back. The SwiftUI code I’m using is pretty much exactly the same as posted by @Michael Eovine in his post from a few weeks ago @ Note: I was hoping the RevenueCat documentation would help provide some useful details but surprisingly there’s only one single mention of ‘getProducts’ (see https://docs.revenuecat.com/docs/ios-native-3x-to-4x-migration#api-changes-1) and it’s in the context of it replacing the ‘products’ call. Can someone from the RevenueCat support team please assist in either suggesting troubleshooting st
In Github https://github.com/RevenueCat/purchases-ios/tree/main/Examples That samples uses:Xcode 12.2 iOS 14 Swift 5There is a example for Xcode 13 or 14 beta working at last stable RevenueCat framework? All official documentation are obsolete at https://docs.revenuecat.com/docs - For example: Purchase module was rewrite to use RevenueCat and a lot of changes.
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.