Get help with your SDK implementation.
Recently active
Is there any way to set a custom attribute(e.g. email) to a customer via Web SDK?
I am trying to integrate Revenue cat in my React native android project but cannot get rid of this error [TypeError: Cannot read property 'setupPurchases' of null]please provide me steps to solve this error as i have gone through all the above steps read articles watched videos implemented example and in every thing this error is common please help on this @React native team , @ Revenue cat community
I’m trying to test making a purchase on iOS but the purchasePackage method just hangs and does not resolve or throw and error. I’m currently using a physicial device with iOS 17.4.1, I’m using capacitor in vue 3 with @revenuecat/purchases-capacitor 7.5.9. My xCode is 15.2. I’m able to get the offerings no problem and pass it to the purchasePackage method but nothing happens, the payment sheet does not appear. I left if for like 10 minutes and it still did not appear or throw an error. Any help would be appreciated
I have the following error when I run the SwiftUI application on the devise (iOS) or via the iOS simulator:---🍎‼️ 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-empty---How I initialise the RevenueCat SDKimport SwiftUIimport RevenueCatimport RevenueCatUI@mainstruct SpeedApp: App { init() { Purchases.logLevel = .debug Purchases.configure(withAPIKey: "...token...", appUserID: "1") } var body: some Scene { WindowGroup { ContentView() } }}My setup:RevenueCat and AppStore App configuration have same bundle ID. Product id for the subscription in RevenueCat and AppStore the same (I’ve loaded the products in RevenueCat via the App Co
Directly after initializing the RevenueCat SDK in my AppDelegate.didFinishLaunchingWithOptions method, I call `Purchases.shared.appUserID`. I briefly looked into the implementation and saw that `IdentityManager.currentAppUserId` (which is used by `Purchases.shared.appUserID` to retrieve the actual id) uses a `fatalError` when no cached app user id is present:``` var currentAppUserID: String { guard let appUserID = self.deviceCache.cachedAppUserID else { fatalError(Strings.identity.null_currentappuserid.description) } return appUserID }```My setup:```Purchases.configure( with: Configuration.Builder(withAPIKey: "...") .build())Purchases.shared.delegate = selflet appUserId = Purchases.shared.appUserID // <- safe?```I assume, that the initialization process via `Purchases.configure` is synchronous and that I can safely call `Purchases.shared.appUserID` as shown in the code snippet above. Is this correct or are there any scenarios in which
Hello, I'm getting “something goes wrong error” on Android. It was working in the past but started not working suddenly. What I have and I have tried so far:My app is live, was released on Google Play Store I went through the Checklist I tried to set a new application on RevenueCat but it’s still the same. I can get all the products on the app I tried to buy a product both on development & live it gives the same error. I tried a different account (in case my account can be problematic), it’s the same When I run logcat, it gives me these two things I don’t know what to do now and I don’t get if the problem is on RevenueCat side, my Google Play Account or the code. I’d appreciate any help
Hello !I’m using Flutter & RevenueCat for my app since a few months, and I’m on my way to make my app available for multiple countries.I followed the docs to add localizations on both store, and everything seems to be good on my side.In my app, the device’s locale is used as default language but I leave the choice to the user to change it in the application settings.By doing that, I noticed that the informations fetched from revenue cat was still on the original language. I was wondering if it’s possible to change it on runtime ? How could I handle this scenario ? I found a related topic but I’m not sure if the answer is still up to date or relevant. If you have encounter the same situation, can you give me some hints ?Thank you for your time !
Currently react-native-purchases library works great for both iOS and Android. On the other hand whenever we implement react-native-purchases-ui, it will only work for iOS but fails in Android with this duplicate class error:com.atlassian.commonmark:commonmark:0.13.0) and jetified-commonmark-0.21.0 (org.commonmark:commonmark:0.21.0) Duplicate class org.commonmark.internal.HtmlBlockParser found in modules jetified-commonmark-0.13.0 (com.atlassian.commonmark:commonmark:0.13.0) and jetified-commonmark-0.21.0 (org.commonmark:commonmark:0.21.0) Duplicate class org.commonmark.internal.HtmlBlockParser$1 found in modules jetified-commonmark-0.13.0 (com.atlassian.commonmark:commonmark:0.13.0) and jetified-commonmark-0.21.0 (org.commonmark:commonmark:0.21.0) We’ve tried everything from downgrading libraries, upgrading our react builds, etc. That error just does not seem to go awayWe’ve searched our project and arent using any commonmark packages or anything anywhere. Has anyone had this issue?
Hello RevenueCat Team,I recently submitted my app to Apple, but it has been rejected twice because of Guideline 2.1. According to RevenueCat documentation, the steps that Apple cited as problematic are already automatically managed by RevenueCat, which makes the claims by Apple simply incorrect.I have thoroughly reviewed the specific error mentioned by Apple and, after a detailed examination, I can confirm that the issue does not exist in my app. Additionally, I am unable to place and test my app on TestFlight as it was previously removed for a different reason.Given this situation, I'm unsure how to proceed. Could you please advise on what steps I should take next? Best regards.
I am trying to use invoices api for my iOS app to verify payments.It’s unclear to me if the invoices api is in beta or not due to seemingly conflicting information.In the RevenueCat Documentation “RevenueCat Billing … currently in beta”: In the API V2 Documentation In the above screenshot we don’t see any warning for beta use. Is this api get request reliable for production use to verify how many invoices have been processed by a given customer? If yes, how long until after the payment is processed do the invoices updates (minutes/hours/days?). Also what is the lifetime of invoices. Do they never expire? Thanks
Hi,I am looking to implement a PaywallFooterViewController is my UIKit based app. However I am unsure about a few things. I have the FooterView presenting over the top of a view, but the space above the FooterView is dimmed black and obscures the view behind it. How do I change it so the view isn’t black?And when I pull down on the FooterView to dismiss it, is there a way I can run a block of code that will dimiss the view behind it as well? Many thanks!Dan
I have added RevenueCat follow the guide with SPM in my project. But when I `import Purchases’, I got No such module 'Purchases' error.Follow this link to set up API keys in project.https://www.revenuecat.com/docs/platform-resources/apple-platform-resources/swiftui-helpers
We are using the RevenueCat Paywall feature and have populated the `Package details for an introductory offer` field thusly: `First month free, then {{ price_per_period }}`We have waited 24 hours to ensure propagation from Apple. We have used brand new Apple accounts for testing.We have completely removed the app from testing devices, reinstalled, and signed up fresh.We cannot get the Introductory Offer to display in the paywall as a Free Month as defined in the Apple Developer Portal.
Future<void> checkAndUpdateSubscriptionStatus() async { try { print("Fetching customer info..."); CustomerInfo customerInfo = await Purchases.getCustomerInfo(); print("Customer info fetched successfully."); print("Active entitlements: ${customerInfo.entitlements.active}"); if (customerInfo.entitlements.active.isNotEmpty) { // User has at least one active entitlement print("User has at least one active entitlement."); if (customerInfo.entitlements.all["50inquiries"]?.isActive ?? false) { // User has an active "50inquiries" subscription print("User has an active '50inquiries' subscription."); AppData.isVip = 1; } else if (customerInfo.entitlements.all["unlimited"]?.isActive ?? false) { // User has an active "unlimited" subscription print("User has an active 'unlimited' subscription."); AppData.isVip = 2; } else { print( "User does not
static func availableOfferingWithIdentifier(_ id: String) -> Offering{ Purchases.shared.getOfferings { offering, error in if let offerMatchingID = offering!.offering(identifier: id){ return offerMatchingID } } }Trying to display a Paywall for my offering with an identifier. produces error why doesn't the closure “offering” realise it’s own type?
How should I handle existing purchases when adding RC to existing app ? my app currently has non-consumable products. The product IDs which offered the non consumable purchases will no longer be offered in the new version. As I am moving over to subscriptions with RC. However I want to be able to honour the purchases made by legacy users of my app. My questions are how to handle legacy product ids with RC so that receipts can be validated even though the products won’t be offered for sale?
I have set up all on Apple connect and Revenuecat board following the guide. But this error is showed when paywall is opened. Please help, what should I check to fix this problem?Test with real iPhone and with paid Apple developer account. App is under ‘Prepare for SUbmission’ state.
I have follow your guide to this page https://www.revenuecat.com/docs/tools/paywalls/displaying-paywallsAnd implement the code in my view, but the paywall is not showing up, what am I missing?``` .presentPaywallIfNeeded( requiredEntitlementIdentifier: "pro", purchaseCompleted: { customerInfo in print("Purchase completed: \(customerInfo.entitlements)") }, restoreCompleted: { customerInfo in // Paywall will be dismissed automatically if "pro" is now active. print("Purchases restored: \(customerInfo.entitlements)") } )```
How to change once_pro to custom title
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
Struggling a bit with building a dev build for Expo for an Android app.I get the error:> Manifest merger failed : uses-sdk:minSdkVersion 23 cannot be smaller than version 24 declared in library [com.revenuecat.purchases:purchases-hybrid-common-ui:10.5.0] Which points to the purchases-hybrid-common-ui library but I haven’t been able to find a solution.There seems to be a post for this issue but I followed it and could not make it work.. not sure if that solution is exactly correct for all use cases of configuration: I tried adding the implementations as mentioned here:https://www.revenuecat.com/docs/tools/paywalls#android-installation and looked through various solutions similar to this:https://stackoverflow.com/questions/67021833/struggling-to-get-android-build-working-due-to-minsdkversion The solution suggestions from the build log itself are:Suggestion: use a compatible library with a minSdk of at most 23,or increase this project's minSdk version to at least 24,or use tools:overri
I’m interested in using the Paywalls feature. I don’t see that Paywalls is supporting Cordova yet. Is this on your roadmap?
When does the RevenueCat Billing and Web SDK support multi-currency? Documentation states:Only USD is currently supported (multi-currency support will follow later) Thanks!
Hello,I am making the user purchase subscriptions from Google Play and Apple Store with Unity IAP. I want to register the subscription with the user's Firebase Auth E-Mail after the Unity IAP purchase using RevenueCat. I want to ensure that the user can use the subscription from Android or IOS device without losing it. How should I do this using RevenueCat? Unfortunately, your technical documents were not enough. Can you help me?Thank you...
Hi,why do my 2 consumables have "productType": "NON_CONSUMABLE" in purchasePackage?I set them up as consumables on the App Store, see here: https://prnt.sc/4JCY6HuohfkcBut this is what I log:```` LOG PurchaseTemplate.js: purchasePackage {"identifier": "onDemand Session", "offeringIdentifier": "default", "packageType": "CUSTOM", "product": {"currencyCode": "EUR", "description": "Buy once and keep forever", "discounts": [], "identifier": "SMED_S_1_E", "introPrice": null, "price": 0.99, "priceString": "€0,99", "productCategory": "NON_SUBSCRIPTION", "productType": "NON_CONSUMABLE", "title": "1 Extra Session"}} LOG PurchaseTemplate.js: purchasePackage {"identifier": "10 Extra Sessions", "offeringIdentifier": "default", "packageType": "CUSTOM", "product": {"currencyCode": "EUR", "description": "Buy once and keep forever", "discounts": [], "identifier": "SMED_S_10_E", "introPrice": null, "price": 7.99, "priceString": "€7,99", "productCategory": "NON_SUBSCRIPTION", "productType": "NON_CONSUM
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.