Get help with your SDK implementation.
Recently active
Hi there, I am newbie about RevenueCat. I want to request my issue. I added two products in one entitlement. And then, I made purchase both these two products using sandbox testing. In returned purchaserInfo object, one product identifier of this entitlement does not included in entitlements object. But, this product identifier included in Active Subscriptions parameter. In addition, the transaction for this product does not included in non-Subscription Transactions objects. But, I can see the transactions of this product on dashboard.So, does an entitlement show just only one product in purchaserInfo object? And, Does I need to separate another entitlement for the product that did not included in entitlements parameter.Please help me out! Thanks.
When a user tries to purchase a subscription on my app, Amazon acknowledges a successful payment in the form of dialog box. Upon closing the dialog box, loader continues and app gets stuck.RevenueCat SDK throws the following error:PurchasesError(code=OperationAlreadyInProgressError, underlyingErrorMessage=null, message='The operation is already in progress.')Kindly look into this.Thanks,
Hi,I’m trying to include RevenueCat plugin as an observer to our subscriptions code that uses flutter in_app_purchases flutter plugin v 2.0.1. But our code is failing because the difference in undelying BillingLibrary SDK versions of the plugins. I’m having a hard time finding a version of the RevenueCat plugin that uses the same or compatible version of Android’s BillingLibrary SDK version, can someone help me with that?Thank you,Luka
I am based in the U.S. and recently a beta tester in Canada reported that he was seeing U.S. prices for IAP, but during checkout he saw completely different (probably Canadian) prices. For example, the US price was $24.99; during checkout he saw $34.99.For IAP price strings, we use `Purchases.Package.localizedPriceString`.Is it possible to test price localization? I tried changing region in Xcode run scheme; had no effect.I had assumed `localizedPriceString` would just work, but perhaps I need to set the locale myself?Is this a glitch associated with TestFlight?
I have launched a react native app recently that has a free trial period for both yearly and monthly subscription. I’d like to add a special offer limited in time for new subscriber that would make use of introductory prices.The user journey would be as follow:14 days free trial then 6 months $7/month then regular price of $14/monthI have been using the free trial without issue unntil I wanted to implement the introductory price on top of it. The issue is that the getOfferings function does not seems to provide both information, it only returns me the intro price object with a price of 0 Is there a way to get the full details for the configured pricing including free trial then introductory price? Or am I getting it wrong?
Hello , I want display the FreeTrial Period on the wall Product. I See the property on json , but in javascript interface no property ?Best Regards
Hi there,I am using Offer Codes on iOS App Store.So I am using Purchases.shared.presentCodeRedemptionSheet() to trigger redeem coupon view. How can I handle the purchase and execute some code after purchase is done? Normally I can handle it inside Purchases.shared.purchasePackage(package) { _, purchaserInfo, _, _ inBut I want to know how to handle that case when using presentCodeRedemptionSheet
I’m developing an application that should run both on platforms (iOS and Android) and web.So far I have been able to implement the platform part of logic, being able to retrieve products and packages therefore displaying the items on a crafted layout and it calls to purchase correctly.Now I want to do it on the web/stripe side and I can’t find any information on how to retireve the products for web from RevenueCat.I’m trying with a code like ths but without any success on the webawait Purchases.setDebugLogsEnabled(true); if (GetPlatform.isAndroid) { await Purchases.setup(Environment.publicAndroidRCSDKKey, appUserId: boxStorage.read('userId')); } else if (GetPlatform.isIOS) { await Purchases.setup(Environment.publiciOsRCSDKKey, appUserId: boxStorage.read('userId')); } else if (GetPlatform.isWeb) { await Purchases.setup(Environment.publicStripeRCSDKKey); } try { Offerings offerings = await Purchases.getOfferings();
🍎‼️ Error fetching offerings - Error Domain=RCPurchasesErrorDomain Code=23 "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). plze help me solve this problem
I am using monthly and annual package in my app. They have 3day trial option.I used these method: var paymentDiscount = await Purchases.getPaymentDiscount( choosedoffer!.product, choosedoffer!.product.discounts![0]);purchaseinfo = await Purchases.purchaseDiscountedPackage( choosedoffer!, paymentDiscount);to make a purchase.It is working while i am testing but when i uploaded to the app store from other’s people’s Iphone i realized that it isn’t working.Payment screen do not come to the screen but in test mode it is coming.How can i solve this problem?
I have recently launched an iOS app which has been in beta for a while. The live app has subscriptions, but during the beta I added a “lifetime unlock” in-app purchase so that beta testers didn’t have to keep re-subscribing due to the accelerated subscription speed.Now that the live app is out, I wanted to offer beta testers a promotional offer code to access a discounted subscription in the live app. However, in my testing, when I installed the live app over the beta app it immediately unlocked everything (as the lifetime unlock was still valid, despite being purchased in sandbox mode)So I added code to the live app to ignore sandbox entitlements by checking the isSandbox flag on the EntitlementInfo (RCEntitlementInfo). This now works as expected, and I was able to purchase a new subscription in the live app despite having had one in the beta, however, today it is failingWhen I try to purchase the monthly subscription in my live app, it tells me “You’re currently subscribed to this” (
please someone help me? how to get latest receipt info in webhook after verification done by revenuecat?
Context:New, 1.0 release of an app Independent watchOS app, e.g. no iOS app Purchases work in sandbox/simulator and see them show up on the RevenueCat dashboard when viewing sandbox data I’m using the Purchases framework version 3.13.1 with SPMWhen I build and run on my physical Apple Watch and attempt to purchase, I get this failure message:Unable to Purchase AppSign in with your Apple ID from the Apple Watch app on your iPhone[ OK ]But I am already signed in with my personal Apple ID account AND have my Sandbox Account configured on my iPhone.My logs look like with a fresh install/build from Xcode:2022-01-04 12:46:15.726123-0700 Next WatchKit Extension[370:89772] [Purchases] - DEBUG: ℹ️ Debug logging enabled2022-01-04 12:46:15.727275-0700 Next WatchKit Extension[370:89772] [Purchases] - DEBUG: ℹ️ SDK Version - 3.13.12022-01-04 12:46:15.727348-0700 Next WatchKit Extension[370:89772] [Purchases] - DEBUG: 👤 Initial App User ID - (null)2022-01-04 12:46:16.034222-0700 Next WatchKit Exten
Execution of Purchases.purchase(package) returns error bellow.( 5034): type '_InternalLinkedHashMap<Object?, Object?>' is not a subtype of type 'Map<String, dynamic>'It happens inside the purchases_flutter package.package version purchases_flutter: ^3.9.1.
Hi @taquitos With the latest 4.0.0-Beta.3, the return from purchaseProduct:withCompletion can have zero entitlement even though it is not true.I can’t reproduce while in debug mode (randomly happens outside the debugger).Attached is a txt file with a log of successful return (I see some errors but not sure how to cancel them).Thanks,
Thanks for the Platform, guys! Started working with RevenueCat on the Flutter and after callawait Purchases.getOfferings()I get an exceptiontype 'Null' is not a subtype of type 'num' in type castReproduced on the real and virtual Android devices. I wrote issue, but your bot is too evil to let her in) That's why I ask here. Can you help with a solution? This seems to be happening on deserializing JSON like this in this place: Environment Output of `flutter doctor`Doctor summary (to see all details, run flutter doctor -v):[√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.22000.434], locale ru-UA)[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)[√] Chrome - develop for the web[√] Android Studio (version 2020.3)[√] Connected device (3 available)• No issues found! Debug logsD/[Purchases] - DEBUG(21462): Debug logging enabledD/[Purchases] - DEBUG(21462): SDK Version - 4.6.0D/[Purchases] - DEBUG(21462): Initial App User ID - nullD/[Purch
I am using the Android SDK (with Kotlin) and my product description always comes back null. I can see the product description in the Google Play Store console but it doesn’t come back through RevenueCat. Also when I check the freeTrialPeriod and subscriptionPeriod values they come back with is “P2W” and “P1M” respectively. How do I resolve that into “2 weeks” and “monthly” programatically? Is there an enum or something being use to resolve these? TIA.
We have a subscription info screen in which we show the user’s current subscription and its price.We couldn’t find a way to get this price.We can get the offerings and use the `purchaserInfo.activeSubscriptions` to find the related product and its price, but the offerings could change with time.. We would like to know the price that this user is currently paying.
Please check below details about bug. User has purchased subscription from application. Once user close the app and open again within same day or within some time. We are getting purchase info. with active status true. So, in this case it’s working well. But if user reopen app after a day or couple of days, we are getting purchase info. NULL(Purchases.shared.purchaserInfo) even my purchase is still valid. Now if user restore it then it’s again working well and I am getting purchase info. in restore purchase request. Can you please help me out for this? I don’t know why it’s happing and what is the solution for this. Also, I am seeing dozens of user Aliases in Revenue-cat portal, Aliases are created on daily bases. Not sure why so many aliases created for particular user even subscription is not expired.
I migrated my app to RC, however my previous users are having the sync problem.Previously, I was not using a back-end for the subscriptions, so I was using the client-side receipt validation on iOS (React Native IAP package).I am trying to sync my previous users, but a little bit confused about the steps;if (isSubscribedInOldSystem && !isSubscribedInRevenueCat) {Purchases.syncPurchases();} 1 - What should I provide to the syncPurchases() function?2 - If I need to provide the receipt, should I provide full receipt? or just the receipt body? I mean, I was using this validation method;const receiptBody = { 'receipt-data': receipt, // Should I provide this to RC? password: 'PASSWORD', }; await IAP.validateReceiptIos(receiptBody, false) .then(response => { try { const renewalHistory = response.latest_receipt_info; const expirationDate = renewalHistory[0].expires_date_ms; const isExpired = Date.now() > expirationDate;
Hello,I’m using Qt (version 6), with cmake builder to create an app on IOS and Android.The code is in C++ for major part of logic, QML for UI, Objective-C and Java for platform-specific logic. The previous version of my app, use Qt5 and QtPurchasing to manage in-app purchase and I have only one non-consumable product to unlock premium features.I have updated my app to Qt6, and make in-app purchase works with qt example with native code.But now, I want to manage auto-renewable subscriptions and I have difficulty with native code to manage it.So I look for RevenueCat but I don’t achieve to install the SDK in my project. I started with IOS integration.I have look the GitHub purchase-ios and try to make direct integration.I have successfully include Purchase.h in my Objective-C file but purchase-ios is not build so linker not found RCPurchase symbol. I have try Swift package but I encounter problems with a Xcode bug which block swift package dependency adding, and failed during loading of
Hi RevenueCat, I’m glad that RevenueCat exists to help bridge the gap for in-app payment/subscription on the different platforms. For my app, I’m currently using Flutter SDK to get in-app auto-renewable subscription setup for both Android and iOS. I have read through the setup docs and have already done the setup, and I’m testing this locally in iOS simulator on iOS 15/14.5.I’m aware that iOS 13 and below, is not compatible with testing in iOS simulator but with 14 and above, it should be compatible. I’m using the latest flutter SDK (purchases_flutter: ^3.8.0)These are the following things done:App Store Connect:In-app purchase package creation App-specific shared secretXcode:Adding In-app purchase feature Package setup StoreKit configurationRevenueCat:Bundle ID setup Package creation to be the same as App Store connect Uploaded StoreKit public certI am able to retrieve the packages that are setup in the Flutter app correctly. However, when the code is called for Purchases.purchasePack
Hi, so we are using ionic capacitor framework. Everything works fine on IOS but we have problem with Android. So when we start the build we are running into this errors. Tried different gradle versions 4.2.2 and 7.0.3 - 7.0.4 "@angular/common": "~12.1.1", "@angular/compiler": "~12.1.1", "@angular/core": "~12.1.1", "@angular/fire": "^6.0.5", "@angular/forms": "~12.1.1", "@angular/platform-browser": "~12.1.1", "@angular/platform-browser-dynamic": "~12.1.1", "@angular/router": "~12.1.1", "@angular/service-worker": "~12.1.1", "@bugsnag/js": "^7.13.2", "@bugsnag/plugin-angular": "^7.13.2", "@capacitor-community/fcm": "^2.0.2", "@capacitor-community/firebase-analytics": "^1.0.0", "@capacitor-community/native-market": "^0.1.4", "@capacitor/android": "3.1.2", "@capacitor/app": "1.0.2", "@capacitor/browser": "^1.0.2", "@capacitor/core": "^3.1.2", "@capacitor/device": "^1.0.3", "@capacitor/haptics": "1.0.2", "@capacitor/ios": "^3.2.
Hello, I am working on updating all my Frameworks including Purchases, specifically trying to get rid of all my PODs and moving them as Swift Packages Dependency. Also, for this I decided to start doing it on the latest version of Xcode in beta and the upcoming iOS 15. I recently noticed that while testing, two things are happening that were not happening before. Products are being displayed on the simulator. The Sign in With Apple ID window is appearing.While testing on the simulator for iOS 14, I was never able to download the products from Revenue Cat, therefore I was only able to test on an my device. But I noticed that it now brings the products and is able to display them on the simulator. However I have not tried to do a purchase from there as I assumed is not going to work as expected. ( This, is actually a good thing because it allows me to test on simulator how my paywall is going to look and react to changes )However, on the second point for some reason, the “Sign in with
Hey there,Fetching the offers works as expected, but purchasing them results in an app crash.The crash only happens on android, ios works fine.I am on react-native-purchases v4.5.0.Testing on a Real Android deviceI am coming from the react-native-iap (5.2.14) package, I uninstalled the react-native-iap package already, but I am not sure if it might is related to that lib, something i forgot to clean up?I checked that the Purchases instance isConfigured:const configured = await Purchases.isConfigured();I tried both methods, purchaseProduct and purchasePackage, both crashed.LOGS:revenueCat Logs:💰 Retrieved skuDetailsList: SkuDetails: {"productId":"com.docomondo.yearly","type":"subs","title":"docomondo Premium (docomondo - dein smarter Dateimanager)","name":"docomondo Premium","price":"CHF 42.00","price_amount_micros":42000000,"price_currency_code":"CHF","description":"Benefit from all available Features!","subscriptionPeriod":"P1Y","freeTrialPeriod":"P4W2D","skuDetailsToken":"AEu..."}💰
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.