Get help with your SDK implementation.
Recently active
I uses RevenueCat Flutter SDK.What happens in Offline in these cases below?1. presentPaywallIfNeeded()2. Purchase attempt.3. If offline purchasing is possible, is CustomerInfo updated once the purchase (subscription) has been made but the user is still in Offline.Extra question:How to learn if there is any cached CustomerInfo data at all?
From the The ultimate guide to iOS subscription testing I found this approach to test subscription restore:One big caveat with iOS testing in the sandbox environment is that there is no receipt file on the device until a purchase is made. This differs from the production sandbox and production environments, where a receipt file is generated at the time of installation. To fully test restoring a purchase in the sandbox, you need to add a button, gesture, or some other means to revert the app to the unsubscribed state.Sign up for a monthly subscription. Use a button or gesture to revert the app to the unsubscribed state. Tap the Restore Purchases button. If you do this before the 35-minute subscription cycle is over, an active subscription should be found, and the app should change to the subscribed state. Question is, how do I perform step 2? Is there any API call I can make to do that?
I am trying to get Features detail from RevenueCat’s Paywall Editor into Unity UI, is there any possible way to do it?These features detail that I want to directly apply to Unity UI
Hello RevenueCat Community,I'm currently working on a Flutter app where I need to manage subscription changes, specifically upgrading or downgrading user subscriptions while handling proration. I'm using the RevenueCat Flutter SDK for this purpose.In native Android, I'm aware that we can use methods like purchaseProduct with PurchaseParams to specify an old product ID and set a specific proration mode (e.g., IMMEDIATE_WITHOUT_PRORATION)I'm trying to achieve something similar in Flutter. My main questions are:How can I specify an old product ID and a proration mode when initiating a subscription change in Flutter using RevenueCat? Is there a direct way in the RevenueCat Flutter SDK to manage these subscription changes while applying proration, similar to the native Android approach?Any guidance or examples on how to properly implement these subscription changes with proration in a Flutter app using RevenueCat would be greatly appreciated.Thank you!
When presenting paywalls using .presentPaywallIfNeeded in Flutter, RevenueCatUI can include a close button. However the color of the close button is always black.Can you please update the Flutter package so that the color of the close button can be customized?
I have installed RevenueCat using SPM (version 4.39.0) but I do not see the xcprivacy file associated with RevenueCat.Xcode 15.3 Privacy Report also does not include RevenueCatWhat am I doing wrong?
My network is working elsewhere. I’m just unable to fetch data from RevenueCat server at this point. [customer] WARN: ⚠️ Attempt to update CustomerInfo from network failed.The operation couldn’t be completed. (RevenueCat.BackendError error 0.)Underlying error: The request timed out.
Hey everyone,I’d like to propose the Logger use `com.revenuecat.Purchases` as the subsystem instead of `Bundle.main.bundleIdentifier`. This is determined in `LoggerType.swift:92`.This would allow utilising the `Hide Similar Items` feature of Xcode 15 console to only hide RevenueCat logs (instead of launching RevenueCat again to change the log level).The documentation of `Logger(subsystem:category:)` does contain:The string that identifies the subsystem that emits signposts. Typically, you use the same value as your app’s bundle ID. For more information, see CFBundleIdentifier.I believe this is advice for logs originating from the app, but when it comes to a dependency like RevenueCat, the app would be considered RevenueCat.You might ask if this then means that if both app and RevenueCat logs wish to be hidden you would need to perform the `Hide Similar Items` twice. This isn’t necessary as you could hide all by hiding the logs of the process which includes your app and RevenueCat.
Hello Revenuecat Team,I have successfully integrated and tested the iOS version, and it works perfectly. Now, I am testing with a real Android device and have made a test purchase for a subscription package. It was successful, but when my server calls the API to check customer info, I receive the following data:{"request_date": "2024-03-12T09:15:30Z","request_date_ms": 1710234930863,"subscriber": {"entitlements": {},"original_application_version": null,"original_purchase_date": null,"other_purchases": {},"subscriptions": {"xxx12monthsub": {"expires_date": "2024-03-12T09:34:17Z"},"xxxx.6monthsub": {"expires_date": "2024-03-12T09:02:55Z"}}}}*xxx represents the accurate subscription package code, which I have removed for security reasons.My question is, if it is an Android device, do I need to check the "subscriptions" instead of "entitlements" as in iOS?Here is my flow:1: User clicks on the subscription button on the device -> sends a request to my server.2: My server calls Revenuecat
When a new user registers in my app, I also set the email attribute in RC.However, Firebase for Unity doesn’t support the ability to verify an email address before updating it.This creates a situation where a user can update their email address to a wrong one (mistype). At this point I also fire an update to the $email attribute in RC with their new email. Meanwhile, they receive an email stating that someone updated their account’s email address (which they can see is mistyped). The email gives them the option to click a link and revert to their old email address. If they click the link, Firebase will revert to the old email address, while RC will reference the new one in the attributes.I can’t use the email verification flow in my app and ensure that the RC attribute updates only when an email is verified, because the verification flow opens only if the account is not verified. Verification happens outside the app.I thought I can read the RC attributes in-app and compare to the lates
Any tips or advices on how to make Revenuecat work on TvOS using the react native implementation?
Hi revenucat Team,I want to achieve this kind of payment:1 month free trial, after that 3 $ for each month ( for 3 months ) and after that 6 $ per monthHow can I achieve this?for free trial I’m using Introductory offer, and for rest of them should I use promotional offer?but promotional will not support new users and depend on doc its just for subscribed users…any way to achive this goal?
I made a promo code purchase using the app store url method below, but the webhook did not pick up that purchase even though i have uploaded my App Store Connect API Key and my In-App Purchase Config Key in the settings. Any guidance on how to get the webhook to trigger if they go through this route? Thanks!https://apps.apple.com/redeem?ctx=offercodes&id={apple_app_id}&code={code}
I am not finding the “IMMEDIATE_AND_CHARGE_FULL_PRICE” Proraion-mode option on the Flutter SDK. Is this available on the latest package? We are using the version ^3.10.0 now. We need this Prorationmode but the SDK enum does not have this method. Anyone found a work around?
I’m using the RevenueCat Paywall UI component in React-Native, however there seems to be no way for a customer to input a discount code to get a percentage decrease on the product. We have setup a discount code in Apple Subscription and it’s linked to a product we are showing the customers in the paywall but there seems to be no way of the customer redeeming a code like you can see in the Apple Documentation belowhttps://developer.apple.com/design/human-interface-guidelines/in-app-purchase#Supporting-offer-codesThe only way I could get this to work is to engage the presentCodeRedemptionSheet function. <RevenueCatUI.PaywallonDismiss={() => router.replace("/(app)/(tabs)/")}/><TouchableOpacity style={{marginBottom: 24}} onPress={() => Purchases.presentCodeRedemptionSheet()}>Redeem Offer</TouchableOpacity>
Hi All,I am integrating IAP into my React Native APP using react-native-purchases. I am creating a development build using EAS for Android and getting the below error: I am using react-native-purchases version 7.22.0 and expo ~47.0.14. As per my understanding, expo ~47.0.14 already supports Android SDK Version 34. Do you think I need to upgrade my Expo SDK version to the latest to make it work?“Execution failed for task ':app:checkDebugAarMetadata'.A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction 3 issues were found when checking AAR metadata: 1. Dependency 'androidx.core:core-ktx:1.12.0' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs. :app is currently compiled against android-31. Also, the maximum recommended compile SDK version for Android Gradle plugin 7.2.1 is 32. Recommended action: Update this project's
I am using real device for test and I am getting these errors:🍎‼️ Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.)2022-10-27 13:47:15.436381+0300 Runner[12975:595117] [Purchases] - ERROR: 😿‼️ There is an issue with your configuration. Check the underlying error for more details. 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-empty2022-10-27 13:47:15.445840+0300 Runner[12975:595300] flutter: PlatformException(23, There is an issue with your configuration. Check the underlying error for more details. 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). But I have conjectures:I
So,I am trying to log the offerings I have for my App.. However, I am getting this message > [Error: There is an issue with your configuration. Check the underlying error for more details. 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] General Information on the App This is the App Store View of the subscription General Information Revenue Cat This is how I set it up in Revenue Cat And here the offerings I have signed all the contracts Apple needs to be signed. We are thinking about migrating to Revenue Cat. Before, we tested buying a subscription with a StoreKit file and a local certificate. I deleted the Sorekit file and the certificate and set the configuration of StoreKit to None I am testing on a simulator.Any ideas what is causing this problem?
I recently made the migration from SwiftyStoreKit to handle consumable purchases. It was working well, didn’t see any problems. Days later, while testing in sandbox, I am now getting the error “There is already another active subscriber using the same receipt.” There were no changes on my part that could have broken something. How can I fix this?
I am trying to purchase a product in React native.my env:"react-native": "0.68.2","react-native-purchases": "^6.6.5", in iOS, after configure with iOS public key, I try to purchase a product by using a function purchaseStoreProductconst { customerInfo, productIdentifier } = await Purchases.purchaseStoreProduct(product);But I could not get any response as well as any errors.In my test, I could get the Apple login modal prompt at the first function call.But after some times, when trying to call this function, I could not get any response.
I feel stupid, but I don’t understand how to implement the Paywall in fragment in Kotlin.Is there any tutorial or sample available ?Thanks in advance
How to disable or translate this alert? I'm using the react-native-purchases-ui.
Can anyone advise where to place the following code suggested by RC in the app? Currently, the sample code I’ve seen so far only places the logLevel and configure in the init() of the App struct. Not sure where to put the shared.delegate and AppDelegate extension. Thank you for sharing! // Option 1: using PurchasesDelegate:Purchases.logLevel = .debugPurchases.configure(withAPIKey: <public_sdk_key>)Purchases.shared.delegate = self // make sure to set this after calling configureextension AppDelegate: PurchasesDelegate {func purchases(_ purchases: Purchases, receivedUpdated customerInfo: Purchases.CustomerInfo) {// handle any changes to customerInfo}}
So I followed the official revenue cat website set up process.I’m using RN and I plan to publish my app to android first then to the app store (So right now I’m only focusing on Google Play).So after following this sample example : https://github.com/RevenueCat/react-native-purchases/tree/main/examples/MagicWeather. I got stuck on the Purchases.getOfferings that was returning : `Error: There is an issue with your configuration. Check the underlying error for more details.`Here is a screen shot : I’m pretty sure I did everything correctly so why isn’t it working ?Also I’m using a developement build (maybe I can’t test RC with it, I don’t know), and my app isn’t published on the google Play I have created a closed Track especialy for it but I still didn’t send it to get reviewed Moreover the app bundle that I uploaded is a dummy app (the app only have a Text saying “Hello world !”) with the sole purpose of enabling Google Billing so that I can creat IAP products (I’m only using IAP I don
When I try to buy with Expo, I get this log [Error: One or more of the arguments provided are invalid.] but I can view the product product information and package information. what is the reason for this ridiculous error? I will add images of my codes. logs Phone Error How can i fix that ?
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.