Discussion and help from anything related to RevenueCat.
Recently active
I have a quasar app that uses capacitor to create iOS apps. I am new to Revenuecat and trying to figure out the installation flow. The only relevant docs I see are the react or iconic/capacitor apps. I would think I need a vue flow, though. I see this, but the link to the vue doc goes to the Iconic/React docs.
purchases_flutter: ^6.29.0purchases_ui_flutter: ^6.29.0platform :ios, '12.0' (Podfile, pod install issues if trying to raise to ‘15.0’) Too much space above packages, how can I get rid of it? Seems to be some padding? Template 5 (was forced to set title + 1 feature): Code:void presentPaywallFooter(BuildContext context) async {final offerings = await Purchases.getOfferings();final offering = offerings.current; showModalBottomSheet(context: context,builder: (BuildContext context) {return PaywallFooterView(offering: offering,onPurchaseStarted: (Package rcPackage) {debugPrint('Purchase started for package: ${rcPackage.identifier}');},onPurchaseCompleted: (CustomerInfo customerInfo, StoreTransaction storeTransaction) {debugPrint('Purchase completed: ${storeTransaction.transactionIdentifier}');},onPurchaseError: (PurchasesError error) {debugPrint('Purchase error: ${error.message}');},onRestoreCompleted: (CustomerInfo customerInfo) {debugPrint('Restore completed');},onRestoreError: (Purchase
Is there any way to set a custom attribute(e.g. email) to a customer via Web SDK?
In the documents has been mentioned: Android purchases can be refunded directly through the RevenueCat dashboard. I have performed a sandbox purchase (non-recurring, non-subscription) within the android/flutter app. The purchase was successful and I can see the purchase in RevenueCat dashboard ( customer: $RCAnonymousID:bfe8546d439b47bd849b2235e93f0e59 ) but there is no “refund” button neither in the dashboard overview page nor in the customer profile page. (From the logs:) 💰 Consuming purchase with token phibohcmjclffkpkopkjlbag.AO-J1Ozy9REJrpu5UcdtOteFugJtIsyz1xvq2566sMpGjELrSLh_N1QhoGjE9D82o7yt4qJRVjpbIt4MQm8Ofnmalg6fEBx2zg
Can I use entitlements to check whether a user has access to 1 of 1000 products?If I have 1000 products, each with a unique ID, can I programatically add the product ID as an entitlement when a product is purchased?Then I will know the user has access to that 1 product for life.
I’ve been reading docs for hours and hours. I’ve read this post: https://www.revenuecat.com/docs/stripe To accept stripe payments I can use a Stripe Checkout (https://stripe.com/payments/checkout) It’s a stripe payment page hosted by stripe which prevents me from having to set up my own payment server. Here’s where I’m lost. After I receive a payment, I have to “Send Stripe tokens to RevenueCat”. How do I do that? I can’t figure out how to initiate a POST request from Stripe Checkout that sends the required info to Revenuecat. Here’s what I have to sent to Revenuecat… curl -X POST \ https://api.revenuecat.com/v1/receipts \ -H 'Content-Type: application/json' \ -H 'X-Platform: stripe' \ -H 'Authorization: Bearer YOUR_REVENUECAT_STRIPE_APP_PUBLIC_API_KEY' \ -d '{ "app_user_id": "my_app_user_id", "fetch_token": "sub_xxxxxxxxxx" }' Any help would be greatly appreciated. Chris
I wonder what would be the best and easiest way to implement a discount on RevenueCat and iOS:Currently I have a yearly subscription with a 1-week free trial. And I have a bunch of users, new ones and churned, that I want to target. I would like to run a promo within the app and offer them -50% on their first year.Should I create a Custom Offer Code, like "SALE50" and redirect them to App Store to redeem it?Or should I create a new subscription with an Introductory offer (for new users). And add Promotional offer to existing subscription (for churned users)? Which solution would be easier to code / implement / maintain from RevenueCat's perspective? (I read that the current Offer Code's implementation in the App Store can be buggy)Thanks in advance!
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
Good afternoon Please tell me, for auto-renewable subscriptions we used the SwiftyStoreKit library, now we are close to switching to Revenuecat. A question arises, SwiftyStoreKit has a method SwiftyStoreKit.completeTransactions() If there are any pending transactions at startup, they will be reported by the completion block so that the application state and UI can be updated.If there are no pending transactions, the completion block will not be called. How is this issue resolved here?
Hi. In my app I am calling the paywall when the user reaches more than a certain number of rows. Let's say 2. Then I present the paywall. After a successful purchase I have to close and re-open the app in order to trigger the valid subscription to allow more entries. How do I fix this inline at the time of the purchase. .sheet(isPresented: $isShowingPaywall) { PaywallView() }Here is my save code where I trigger this. func save() { let bgcolor = selectedColor.toHex() ?? "#FFFFFF" print("Before SubscriptionActive: \(userViewModel.isSubscriptionActive)") let isSubscriptionActive = userViewModel.isSubscriptionActive // print("AFter SubscriptionActive: \(userViewModel.isSubscriptionActive)") // Retrieve the total count from UserDefaults var totalCount = UserDefaults.standard.integer(forKey: "TotalCount") // print("total count in beginning of save \(totalCount)") // Check if it's th
Hello:I have a migration script - is it safe to call this endpoint multiple times for the same user (just in case something goes wrong on my end) Thanks,
Hello, we set up the Firebase - RevenueCat integration. Now my question is, if trials also fire the “purchase” event in Firebase or do they only fire the “rc_trial_start” event?Docs: https://www.revenuecat.com/docs/integrations/third-party-integrations/firebase-integration#events Kind regards,Marius
How can we support web redemption of a coupon and redeem create with firebase auth a lifetime entitlment based on coupon and no card needed… basically we use revenuecat for iOS and Android like veryone else but we are kicking off a lifetime deal where users buys access for lifetime and then they get a coupon to redeem similar to appsumo.com does one page we are listing so we get exposure but we struggle to find out how with the docs… any idea and also we dont want to ask card etc for the people who redeem a coupon. Help appreciated.
Hi,When reviewing events in Amplitude that I get with RevenueCat integration I noticed some event properties are doubled with ‘$’ and without. For example $product_id and product_id contain the same info.Which of these properties should I rely on when, for example, filtering data in Amplitude?Thanks!
I have created promo codes within the App Store per Apple’s instructions. I am able to give the user a code and they’re able to redeem the code for a consumable IAP. However, the consumable product never gets called in my app. How can I check that the user has used a promo code to credit their account with the reward?
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
Hello, I’m close to finishing development for a new app. I want to give all new users Lifetime PRO for free without having to go through a paywall as some users will reject it even if it says FREE on apple’s confirmation modal.
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
Hi there,Apologies if this has been asked already - I was trying to create an App Store Connect API Key to connect RevenueCat as per this App Store Connect API Key Configuration | In-App Subscriptions Made Easy – RevenueCat However, Apple shows this message when generating the key saying it cannot be used with Third Parties. I am concerned that RevenueCat will be considered Third Party and break this term and condition. Am I being overly paranoid? 😄 Is this something a dev shouldn’t be worried about? Thanks so much!
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?
Hi everyone,I'm currently experiencing two issues with my app while testing on TestFlight: sandbox transactions are not going through, and there's a looping problem during the transaction process. Despite having everything configured correctly, these problems persist. Here are the details of my setup, the steps I've taken so far, and some code snippets for reference:Setup Details:App Configuration:App ID and Bundle ID are correctly set up in App Store Connect. In-app purchase product IDs are configured and match those in the RevenueCat dashboard.RevenueCat Configuration:API keys are correctly set up and match the ones used in the app. RevenueCat is initialized early in the app lifecycle with Purchases.setLogLevel(Purchases.LOG_LEVEL.VERBOSE).Testing Environment:Testing on iOS devices through TestFlight internal testing. Using the latest version of the RevenueCat SDK.Steps Taken:Checked API Keys and Configuration: Verified that the API keys and configurations are correctly set up in the
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.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.