Get help with your SDK implementation.
Newest first
Hi guys!Sorry if this has already been asked. I could not find anything from a search.I am wondering if it is possible to retrieve the total active subscription count via the RevCat API. For example, I would like to display that number in a third party dashboard as a single integer (or two separate integers for Apple/Google). All of my clients ask for that single metric in an easy/quick way rather than looking at the charts.Thanks,Phil
I have a non-consumable in app purchase that I no longer offer in the app, so it would be great if I could remove it from the store listing, but I don’t want to remove anything for the users that have already purchased this iAP.Can I safe uncheck “Cleared for Sale” in AppStore Connect? Is it still included in the AppReceipts? If I have the legacy purchase in my entitlements, will the features still be unlocked for these users? Can they still restore purchases?
I have installed cordova-plugin-purchases on my app which works fine on the android version.But on IOS while i am following all the documentation on both physical device and simulator and while my setup seems ok, i cannot trigger any purchases related action/function.I did all the stuff described here: Testing purchases in App Store SandboxThe actual behavior seems like all plugin functions are empty of code.I do not get either a success or an error callback at all from whatever method i ‘ve tried to call.I have tried in both actual devices and simulator with xcode builds.If needed i can post sample code.
Hello all,I have setup real time developer notifications for my Android app, everything seems to be working fine and when I click the “Send test notification” in the developer console, the notification is successfully sent and no error is provided, however, all my Android purchases keep getting automatically cancelled 3 days after a successful purchase. My guess is that the purchase is cancelled because they’re not acknowledged by the SDK.I’ve followed the setup steps multiple times and the purchase flow and everything else works as expected, but it is really frustrating to see all my purchases returned because some misconfiguration on either mine or RC’s end that I haven’t been able to pinpoint.I also setup a new Pub/Sub subscription to the topic automatically created by the RevenueCat system and I successfully receive the base64 encoded notification with a payload similar to this one:{"version":"1.0","packageName":"com.my.app","eventTimeMillis":"1641511258205","testNotification":{"ve
Legacy Public API Key is not visible in project settings section under API Keys I created four projects and Legacy Public API Key is visible in only one of my projectand is not visible in the remaining three.i attached the pic below the location for Legacy Public API Key Please help me!!
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.
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?
After installing the framework by using Carthage with XCFrameworks, some developers have run into an issue when debugging. The issue is that when using `po` to print objects, an error saying `Couldn’t IRGen expression` gets returned. The underlying issue has to do with the way that LLDB stores and looks up debug symbols, which get tied to the machine that originally built the framework. More information on the issue can be found in the following articles: https://steipete.com/posts/couldnt-irgen-expression/ https://darjeelingsteve.com/articles/Resolving-LLDB-%22Couldn't-IRGen-Expression%22-Errors-When-Building-XCFrameworks-Using-Carthage.htmlThankfully, this can easily be worked around:One solution is to pass --no-use-binaries to Carthage (making the overall command carthage update purchases-ios --use-xcframeworks --no-use-binaries, so that the machine that builds the framework is the same one that’s used to debug, thus solving the issue. However, this might not be useful to everyone,
We are building an iOS subscription based app where a user can:Access feature X with no active subscription Access features X & Y with active free trial Access features X, Y & Z with active subscriptionThe features are content based so it might be that the user goes through all content of feature X and Y earlier than the free trial ends and in order to access the following “Z” the user would have to either wait for the trial to convert to a subscription or force end the free trial and subscribe. Question is if there is a way and how to achieve this “force end trial and subscribe” logic. Thank you
Hi, RevenueCat is working well for almost all of my users. There is a user where the subscription is not being updated in the RevenueCat system despite the user frequently opening the app. An example user is l6eLj1tGiTZfNUVA who started their subscription 2021-11-05 10:11 AM. The Google Play console shows they been rebilling every month since 2021-11-03 and was last billed on 2022-01-03 however this isn’t shown in RevenueCat so I have to manually check with GPLAY and extend his subscription each time. I checked and this user last opened the app at the start of 2022 so is missing the December billing event, they are also using the most recent version of the app which includes the RevenueCat Cordova plugin. Any help would be appreciated 🙏
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
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
Google Play won't allow me to add the subscription items to my product due to "Billing Permissions" in the bundle. The error message is:“To add in-app products, you need to add the BILLING permission to your APK” Team says this in our project and found that it is present in revenue cat sdk.
Hi,I need to know if when I use Purchases.syncPurchases();and there is some to sync, a webhook is triggered?e.g. I have some users that used old App, that didn’t use RevenueCat or my own API, but the user update the App and now he can’t access the app because I’m using RevenueCat and controlling the status by server side, but Google or Apple knows that the user is a subscriber.in this case, if I use the sync method and when Revenue update a trigger will fired? Or I need to use the Rest API to know?obs. I’m using Flutter for the Apps.
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 all,we have observed that some of our users that try to buy our product are ending up with the following error:Error updating purchases. DebugMessage: . ErrorCode: 6From what I have seen in Android’s SDK, this points to Play Billing’s API internal error.Are there any way to mitigate this? We have a suspicion that this greatly reduces our conversions rate compared to other means of in-app payments. (source of the error message: https://github.com/RevenueCat/purchases-android/blob/f7fac296913c531dc132b243f17ba0d05922c07b/feature/google/src/main/java/com/revenuecat/purchases/google/BillingWrapper.kt#L523)
Hello, Apple updated app store prices in Turkey on December 8.For example: The option of 8.99 Turkish Lira (Tier 1) increased to 16.99(Tier 1) Turkish Lira.I see updated prices in the App Store Connect Panel. There's no problem here. BUT IN MY APP, THE PRICES ARE OLD. coin_100 - SkuDetails: {"productId":"coin_100","type":"inapp","title":"100 x Coin (x)","name":"100 x Coin","price":"₺8,99","price_amount_micros":8990000,"price_currency_code":"TRY","description":"100 x Coin is defined in the account",
I am using the React Native package with RevenueCat, and everything is working as expected on iOS (thanks for your hard work on the great RN package, by the way).There is still an issue with Android though, and I have been struggling with it for a few days. Initially, I thought it was because I did not have a release published on a test track, but that has now been rectified (approved by Google) yesterday, and I’m still getting the “The product is not available for purchase” on Android.Things I have tried:Make sure the app is published on the “Closed Testing” track (it is): Ensure that both the app ID and SKUs for the products are the same (they are). Ensure subscriptions are active in GPC (they are): Does anyone know what else I can try, as it’s a bit annoying since the app is finished, but I’m blocked from testing.Thanks in advance for any help, and all the best for 2022!Ben.
Just wanted to give a shout out to the Revenue Cat team. @ 3:19 p.m. today Apple Review made first in-app purchase of my auto-renewing subscription and @ 3:24 p.m. I received email welcoming me to the App Store from Apple.I actually expected a lot more testing of the In-App purchase portion of the app because I know I spent a lot of time testing it and making last minute changes. But who am I to complain.Of course I got some rejections along the way for Rating, and Safety Guidelines but the In-App purchases flow went flawlessly thanks to the great staff Revenue Cat has assembled.I think back to my previous company where I did receipt validation locally (couldn’t afford a server backend staff) and thought it was crazy that every developer had to do this decryption validation of receipt. Even crazier was the verbose language you had to put on your paywall in a vertically challenged render space. I believe we got rejected six days in a row just for the wording on the paywall and the l
My test environments: Running XCode(Sandbox) and TestFlight. PRICES THAT LOOK WRONG I Have 9 consumable products. Prices I choose in Prices that the app store connect => appear in panel my app__________________ ____________________________________16.99 TRY(TİER 1) => But my on the application screen 8.99 TRY 34.99 TRY(TİER 2) => But my on the application screen 18.99 TRY 49.99 TRY(TİER 3) => But my on the application screen 27.99 TRY 119.99 TRY(TİER 7) => But my on the application screen 64.99 TRY 279.99 TRY(TİER 17) => But my on the application screen 159.99 TRY 829.99 TRY(TİER 49) => But my on the application screen 459.99 TRY Note: 1- Purchase works successfully. It's just the wrong price.2-) There is no problem with Google Play Store prices.3-) My app is not in publish mode,
Hello,We’re using Carthage to consume Purchase.xcframework. It’s possible to download the pre-built xcframework within the release as described here. However, your prebuilt xcframework doesn’t contain dSYMs inside. I downloaded xcframework.zip from GitHub and discovered all the dSYMs outside .xcframework itself, in the separate folder. The RevenueCat official iOS SDK Installation guide suggests to run the carthage update with `--no-use-binaries` option which triggers a local build of xcframework. BTW this also might cause a problem such in my case where I don’t have swiftlint installed and getting this error on build:```Adding homebrew bin folder to PATH (/usr/local/bin)error: SwiftLint not installed in /usr/local/bin, download from https://github.com/realm/SwiftLintCommand PhaseScriptExecution emitted errors but did not return a nonzero exit code to indicate failure``` Question:Why not to contain dSYMs inside release pre-built `.xcframework`? Thus, we can run just `carthage update --n
In the sandbox environment, when I call Purchases.purchaseProduct or Purchases.purchasePackage (my product is auto-renewable), the payment sheet pops up for confirmation as expected. After I entered my credentials and pressed confirm, the payment sheet shows up again. I have to reenter my credential to confirm the purchase. This happens if the user does not have any subscriptions initially. Another big issue related to this is when the subscription expires, I cannot make a purchase to the same subscription because the payment sheet doesn’t show up at all, and the SDK console says it will not process because the purchase/transaction is a duplicate. TIA!
My API get a list of my products (from my server) and display it on app. I'm using revenuecat only to do the subscription.The problem is that, for each country with his own currency, I need to display the right price, it means, my server doesn't know what is the users country to provide the correct price from Apple.There is a way on Revenuecat for me send the SKU and get the price based on the user's country?
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..."}💰
Hi, how can i detect the iTunes pop-up cancel button clicked ? Is there any delegation methods or someting?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.