Get help with your SDK implementation.
Recently active
Hi,I’m new to RevenueCat and just following the Quick Start for iOS.I tried to add the SDK using the instructions but Xcode could not resolve the dependency (tried Xcode 12.5 and 13 beta 5).It seems that since the new 4.0.0 beta SDK released 2 days ago, Xcode can’t resolve it. It defaults to using 4.0.0 as the minimum version and then fails to resolve it.I have managed to work around this by entering 3.12.4 as the version when adding the dependency, but thought I’d raise this in case (a) I’m doing something wrong (don’t fancy using Beta right now so...), and (b) RC are not aware of the problem.
Hi there,We would love to give our app users the ability to pay one time for a long time subscription (e.g. 5 years) which is not possible by AppStore or Play store. Is it possible to make it happen with RevenueCat? The goal is to pay once for a traceable/trackable subscription where RevenueCat’s purchases SDKs can verifies users’ entitlements for the duration of the subscription. It doesn’t have to be a “subscription” but should be trackable. Thanks in Advance!
Hi, there is information in the documentationAlso, if you are user of RevenueCat, grace periods for Apple and Google are automatically detected and handled by our receipt server and SDK. How can I check that user has grace period in this time? I want to show alert for him.Thanks
Hi Everyone,We are handling the restore mechanism with the combination of our local app user id and Revenue cat SDK. So again is this mandatory to show Restore purchase button in the app? For example with the help of app login username and password credentials, we are giving access to Premium features (This reflects to restore mechanism).Due to not showing the Restore purchase button in the app will cause any rejections from Stores (App Store and Play Store)?Thanks for your help.
I have an independent watch app on the store as part of a family of apps. The watch app is part of a single project with the iOS app. After I upgraded Xcode, my app will no longer recognize the Purchases(now RevenueCat) package. I am using a single class that manages the purchases. If I have it as part of the watch extension it throws errors. If I only target the iOS app, the errors go away. The errors all essentially amount to:'PurchaserInfo' is not a member type of class 'RevenueCat.Purchases'I am also showing an error ofWatch Extension.build/Objects-normal/arm64_32/Settings.dia:1:1: warning: Could not read serialized diagnostics file: error("Invalid diagnostics signature") (in target 'Watch Extension'…Steps I have done:Make sure that the package is linked to the extension cleared the derived data, cleaned the project and restarted.I can find no setting that seems to be a problem. Any help would be appreciated.
Hi, I am using flutter to implement purchase package. My code looks like ; _purchaserInfo = await Purchases.purchasePackage(packages.first);//print('purchase completed');appData.isPro = _purchaserInfo.entitlements.all["all_charts"]!.isActive; This code is invoked on a click of a button. It works fine for monthly subscription but when I use same code for annual subscription, nothing is happening. I just get following messages; D/[Purchases] - DEBUG(13801): ℹ️ Vending Offerings from cacheD/[Purchases] - DEBUG(13801): ℹ️ Checking if cache is stale AppInBackground false
We’re having an issue that seems to only be present in certain foreign markets. So far, we’ve received reports in: Russia, China, South Korea, Thailand, Japan, and Bulgaria.Everything seems to be working well in other regions.The issue is that when a user selects a package to purchase, whether this individual user is on iOS or Android, clicking to purchase the package, which uses the purchases_flutter library, crashes the app and presents the default error screen. Any ideas as to things we may be doing wrong?
From The Ultimate Guide to iOS Subscription TestingBecause the sandbox environment doesn’t have a subscription management UI like the production App Store, you’ll need to expose buttons or other means within the app to test purchases that trigger upgrades, downgrades, and cross grades. I’m a bit confused on what to do to test a crossgrade. I have two plans, same level, different duration (annual and monthly). When I test in sandbox switching from monthly to annual, in Customer History I see the renewal events of the monthly one, then the change of renewal preference to annual, but then it stops renewing on either plan. On my I app I end up as if I just cancelled and not subscribed again. Is this expected from the limitations as quoted above? If so, is there anything I can do to test this further or is that enough to assume it will work in production?
I am implementing App Store subscription (promotional) offers in an app, and I need to implement a check similar as the checkTrialOrIntroductoryPriceEligibility SDK function.This article here suggest I could use an existing entitlement as a means to validate that, however an entitlement could have been acquired in another platform, thus tricking me into promoting an offer Apple will not honor.Apple suggests instead:You can check whether the receipt contains any existing or expired subscription purchases to identify these current or lapsed subscribers.Which seems pretty simple, but the SDK doesn’t seem to expose this kind of information - wether a specific product identifier has ever been purchased on iOS. The raw ReceiptParser also has no public parsing methods I could use. I would have to resort to manually parsing the local receipt, which makes no sense when using RevenueCat.I also see a property called in PurchaserInfo called allPurchasedProductIdentifiers. Could this be used to det
Hi there!I'm experiencing some delay on the PurchaserInfo data right after login. I'm using the Transfer Purchase behavior from https://docs.revenuecat.com/docs/restoring-purchases. Problem: PurchaserInfo returns without active entitlements right after Purchases.login()Steps to reproduce:1.With a anonymous user, buy a subscription 2. Now the anonymous user has an active entitlement on PurchaserInfo 3. Log in (Purchases.login()) on a account with no active entitlements 4. Call Purchases.getPurchaserInfo() to check if user has active entitlements Result: The recently logged in user has no active entitlements, even though they should (because of the Transfer Purchase behavior). However, if I call Purchases.getPurchaserInfo() again after 2-5 seconds, then the PurchaserInfo returns correctly, with the user having the active entitlement.To fix this I'm using addPurchaserInfoUpdateListener, so I can observe better the PurchaserInfo changes. But is this delay after transferring a purchase norm
We are launching a new app that requires users to sign in with their Apple ID (sign in with Apple). Are there any best practices for using the RC purchases SDK in combination with sign in with Apple. One thing I was wondering was if we should rely on the Apple Identity Token as our User IDs or the anonymous user IDs vended by RC. Any insight would be greatly appreciated.
Hi there!I'm testing the login/logout system of the RevenueCat SDK on Flutter.I'm using the Transfer Purchase behavior from https://docs.revenuecat.com/docs/restoring-purchases.Problem: PurchaserInfo entitlements returns empty after Purchases.logOut(). Purchases.getPurchaserInfo() only returns correct after I refresh the app and call Purchases.setup().Steps to reproduce:1. Enter app, call Purchases.setup() (without appUserId). 2. Do a subscription purchase 3. Now with the user with subscription, call Purchases.login(). The user now has a provided app id and has the subscription entitlement. 4. Call Purchases.logOut(). Now the user has an anonymous id. 5. Call Purchases.getPurchaserInfo() to retrieve the user's entitlements and check if the user has subscription. Result: the user has no entitlements, even tho the user bought the subscription on that same device.But…6. Refresh the app and call Purchases.setup(). Now when Purchases.getPurchaserInfo() is called, it returns the subscription
Even though I made a purchase, the membership seems empty. that's why I got a rejection from Review center. At this point I looked at the redirects on the page but it doesn't seem to work.First of all, when I connect it to the ios14 china storekit, everything works correctly through the store kit. Purchases are accurately reflected to RevenueCat. Everything is OK. But things change when I publish the app on TestFlight. We are doing the subscription process, we also get the warning that it has been done successfully. but when we query via RevenueCat right after, we cannot access the membership information. We go and check the revenuecat dashboard, likewise we see that AppUserId is not assigned there. more interestingly, when we try to make a purchase again, we get a warning that you already own this item. Please help
Hi I have a game built in C++ and using SDL2 for the application framework and was wondering if it would be possible to use RevenueCat? Would it be possible to bridge the SDK with aObjective-C++ class?ThanksDenis
Hi everyone,Is it possible to configure 2 different webhook URLs? We would like to have the sandbox requests to our staging environment and the production requests to production. Otherwise we would need to route the request first to be sent to the appropriate environment on our own.Thanks for your input on this!
Hello, We want to switch our purchase system from Unity IAP to Revenuecat. But we have some questions about subscription system. 1- How to get subscription local prices (monthly price / introductory monthly price and weekly) from Revenuecat SDK? For example, we were get the price data with Unity IAP like this:if (m_GooglePlayStoreExtensions.GetProductJSONDictionary() .TryGetValue("om_sub_vim", out string skuDetails)) { ControllerUIMainMenu.Instance.SetLocalizedIntroductoryPriceMonthly(JsonUtility .FromJson<SkuDetails>(skuDetails).introductoryPrice); } 2- How to start Purchase Subcription request with Revenuecat SDK?For example, we can start a purchase subscription request with Unity IAP like this:m_Controller.InitiatePurchase(m_Controller.products.WithID("on_weekly_vip")); Thank you!
I recently started using RevenueCat SDK in an existing iOS app. I noticed that some users cannot restore purchases on a new device, and even after making a new purchase on the new device, the entitlement for Pro features was enabled only on one device at a time. That is completely wrong behaviour! As I figured it by now, it is causes by RevenueCat’s default setting, which I was not aware of, and which I cannot change myself. Where do I ask for a fix from RevenueCat?
Hi, I’m using the Flutter SDK for auto-renewing subscription handling (with free trial).I need to find the very first date the user subscribed (trial subscription).Can I do this using the Flutter SDK?
The Flutter library for RevCat depends on androidx.core:core-ktx, and Google’s latest version androidx.core 1.7.0-alpha02 is causing Android build errors and preventing app deployment. Is there anything RevCat can do to address this, or anything you’d recommend we do on our end? Our pubspec.lock/yaml file haven’t been updated in a while so not sure why Google’s latest change impacts us. For more details on our issue:Running our Android emulator without any new changes or library updates suddenly started breaking with `error: resource android:attr/lStar not found`. From investigation, we saw a lot of Flutter & React Native developers posting the same issue: https://www.reddit.com/r/Unity3D/comments/ph2596/android_builds_fail_due_to_core170alpha02_release/ https://stackoverflow.com/questions/69033022/message-error-resource-androidattr-lstar-not-found https://stackoverflow.com/questions/69021225/resource-linking-fails-on-lstar/69029908#69029908 We found the androidx.core:core-ktx dep
I am made a purchase from google play, I have received a successful event, immediately after that google is sending a cancellation event. Is it a RevenueCat bug? if it is not then how can I solve this?
Hi there, I am using the Revenuecat REST API to confirm a user paid. For context, we send our users a special confirmation based on the amount they paid, so they can get their payment reimbursed.I would like to get also the exact amount (ideally in €) from revenuecat REST API, but I haven’t found a proper endpoint. Does it exist? And if not, will it? I think it should be possible, since I can see it in the revenuecat dashboard if I click on a customer br
I have created subscription with annual introductory offer and I am trying to fetch that product to show the user current offering but I am receiving wrong data as the validity of the plans is showing in some minutes.How can I show the user active introductory price for given subscription?How can I show multiple offers with multiple offers?I am using React native 0.64.2.
After a user completes a purchase through either google play billing or through the revenue cat sdk does the google play purchases receipt get sent to revenue cat to be displayed in some dashboard?Is there any documentation about the revenue cat sdk reading/observing the google play purchase receipts?
Hi,I had a non-consumable Unlock All purchase in my app before moving to RevenueCat. I’ve had iOS users who purchased it before RevenueCat integration. Let’s call these users User from the past. Recently I moved to RevenueCat and created a new auto-renewable purchase (Subscription Unlock All) using RevenueCat code and removed the old code responsible for non-consumable purchase from my app completely (including the old restore functions that worked). The app has a restore button and it calls Purchases.shared.restoreTransactions for restoring Subscription Unlock All purchases, it works correctly. Now, I would like to Unlock All Features and add the ability to restore purchases for every user from the past who purchased a non-consumable Unlock All purchase before RevenueCat integration. THE QUESTION:Am I right that in a Revenuecat dashboard I just need to add my old non-consumable Unlock All product to the Entitlement that is working for a Subscription Unlock All purchase and this will r
Our current project contains 22 offerings (all of them have products inside), but when we call Purchases.sharedInstance.getOfferingsWith() offerings object contains only 20 items (same thing happens on both Android and iOS).Is this correct behaivour, because we cannot find this 20 items limit in documentation?
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.