Get help with your SDK implementation.
Recently active
I’ve been looking all over the internet and reading through RevenueCat documentation and have continued to come up short with this. I would appreciate guidance from anyone who has done this before, as it’s driving me crazy.I’m building an iOS app using Ionic/Capacitor and leveraging the brand new @revenuecat/purchases-capacitor SDK to manage receipt validation and the entire in-app-purchase life-cycle for Auto-Renewable subscriptions. I’ve got everything working except for a way for the user to be taken to their App Subscriptions page (should they decide to cancel the subscription).When retrieving customer info (which I do, right after configuration ‘Purchases.configure’) I store the returned managementUrl (which ends up being “https://apps.apple.com/account/subscriptions” for me).My issue is:I know this link is correct; If I enter it into Safari on my phone, it guides me straight to the phone’s App Subscription management page When I navigate to this Url in my app using this.router.
I am trying RevenueCat for the first time. When I compile my project in VS Code since including the purchases_flutter package (latest version: purchases_flutter: ^6.0.0), I receive this warning:Note: C:\Users\User\AppData\Local\Pub\Cache\hosted\pub.dev\purchases_flutter-6.0.0\android\src\main\java\com\revenuecat\purchases_flutter\PurchasesFlutterPlugin.java uses or overrides a deprecated API.minSdkVersion is set to 30 (flutter.minSdkVersion=30)Flutter Doctor info:[√] Flutter (Channel stable, 3.13.7, on Microsoft Windows [Version 10.0.19045.3570], locale en-US)[√] Windows Version (Installed version of Windows is version 10 or higher)[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)[√] Chrome - develop for the web[!] Visual Studio - develop Windows apps (Visual Studio Community 2017 15.8.1) X Visual Studio 2019 or later is required.[√] Android Studio (version 2022.3)[√] VS Code (version 1.83.1) How do I fix this problem?Thank you.
Purchases.shared.presentCodeRedemptionSheet()We encountered an issue when trying to use this code for the promotion redemption.On the iPad, the screen appears normally and I can enter the redemption code. However, after I input the password and receive a transaction completion notification, my app doesn't actually subscribe successfully. Attempting to restore the subscription also doesn't retrieve any successful transactions. This issue persists across all versions we've tried.
I’m using paywall with Android 7.1.0-beta.2The template I create didn’t show, it uses the defatult view.The log error is:Template name is not recognized: 4Displaying default template due to validation errors.I use the template of “Template 4 - Persian Content”
I want to validate the data sent from RevenueCat to my server via webhooks. The data is JSON, so are there JSON schemas available to do that?
app store normal subscription works. But I want to set discount offer codes and as stated in the docs I redirect the user with a URL to the app store to redeem the code for the subscription. I see the subscription in the user’s app store but there is nothing on revenue cat and when I try to “restore purchases” there is nothing. Also this offer code is for a subsctiption. The offer is discount for 12 months of subscription. everything looks good on apple side, will revenuecat understand when subscription renews or when subscription is cancelled?
We are integrating revenuecat inside our project as "observer", we have followed the documentation step by step.Our part related to configure our project into revenuecat console is done for both android and ios.but in order to test that out, we got a build for both android and ios, for android it is crashing when making a purchase. but for ios it is crashing without launching the app.for androin we got "no class found exception" but also we add a proguard text file as you mentioned in the documentation
Hi, I have an app that users can log into using either their gmail or their apple id. I want to implement the RevenueCat SDK, but in the docs, it says to configure the SDK as early as possible, usually when the app starts. My challenge if I do that is that, when the app starts, I don’t know which login method the user is going to use and obviously, if they are using gmail, I want to the Google API key and if they are using their Apple Id, I need to use the Apple API Key. Based on the documentation, it is my understanding that the API key is configured in the SDK at the time of the initial configuration.My question is: if my understanding is correct, can I update the PurchasesConfiguration once the user logs in with the right API key? If that is not possible, can i configure the PurchasesConfiguration when the user logs in and “unconfigure" it when the user logs out? If none of these are possible, then how do I do this?Thanks a lot in advance,Bertrand.
Hi everyone, We have a flutter app that requires user to make a purchase first and then create an account. Users can’t access the app unless they signup and create an account. First time a purchase is made with Rc anonymous id and after signup we call logIn() method with user id. We are trying to implement restore purchases as apple doesn’t approve apps without having any restore method. When user clicks on restore purchase revenue cat restores the purchases but transfers the purchase to an anonymous id. We are using the webhooks to save user subscription status on basis of webhooks. But after restoring purchases revenue cat send the webhooks with anonymous id and our backend is unable to connect it with user. After clicking on restore purchases logIn() method doesn’t work. In debug mode it says that user has been logged in but on revenue cat it doesn’t change the app user id and webhooks are being sent from anonymous id. How to implement the restore purchases in flutter when we have a
Apple has allowed apps to use external purchases. Can this API be used via revenuecat? Will there be such support in the future?https://developer.apple.com/documentation/storekit/external_purchase
Hello below is my json file in meta offerings how to use this string in ios side ? { subscriptionDuration : { “en_US” : “Yearly”, “es_ES” : “Anual” }} Please help me regarding this how can i use localised string in swift side...
We are using expo managed workflow and want to integrate RevenueCat purchase to full fill in-app purchase need for android, ios and web. Does RevenueCat support react native web?
Hello,I set up correctly according to the instructions and everything seems to be verified.However, when I try to call getOfferings, I am getting an errorError: There is an issue with your configuration. Check the underlying error for more details.any help is appreciated.
I’m able to get all offerings and products from the Flutter SDK. However, while trying to make purchase on Android, getting the following error:[log] Purchases -> 🤖‼️ BillingWrapper purchases failed to update: DebugMessage: . ErrorCode: BILLING_UNAVAILABLE.null[log] Purchases -> 🤖‼️ PurchasesError(code=PurchaseNotAllowedError, underlyingErrorMessage=Error updating purchases. DebugMessage: . ErrorCode: BILLING_UNAVAILABLE., message='The device or user is not allowed to make the purchase.')dependency: purchases_flutter: ^6.0.0This user was able to make test purchases before. APK is added to closed testing and user is added as tester.
We are planning to create a subscription with a free trial period. As an example a 1 year subscription with a 6 month free trial.When the user purchases this subscription, when will the account be charged? At purchase time or after 6 months?Thank you,
As you can see, the user’s subscription is cancelled due to a billing error but the api returns the user still have active subscription. can you guys help me to solve the issue?
Almost used Paywalls beta, but I need a template with a big header graphic like the template ‘Ignite Your Childs Curiosity’ combined with being able to add more items to the features list like the template ‘Your Free Trial Journey’. Ideally when adding features to the list, would like to add text or graphic or custom view. And ideally would like more than one ‘features’ section with custom titles. Eg ‘Features’, ‘Benifits’, ‘Questions’, ‘Customer Reviews’. Naturally this paywall is going to get long, so I’d like the paywall content to scroll down and have a call to action button buy button that floats in front of the scrolling content, anchored to the bottom of the screen.Can you build that? Is that possible using combination of template and SDK calls?thanksPS - need a ‘Paywalls (beta)’ tag?
Hello, I am using React-native and building an app in IOS. It is strange that when i try to use this function, it returns me nothing. when i try to get offerings, it returns me an an error that 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```useEffect(() => { async function fetchOfferings() { await Purchases.setLogLevel('info'); await Purchases.configure({apiKey:<API_KEY>}); const products = await Purchases.getOfferings(['promonthly']);console.log(products)}fetchOfferings();}, []);``` I have also tried every single suggestions in Nothing seems to work. I tried using my phone and then the simulator and both returns empty. Any help is greatly appreciated.
Hi there,I recently attempted to migrate my React Native app to Google Play Billing Library 5 and encountered a problem after updating the RevenueCat SDK to the latest version. I'm hoping someone in this forum can shed some light on the issue.I updated the RevenueCat SDK in my React Native app to the latest version.However, when I test the app in both closed testing and internal testing, I'm encountering the following error: "The product is not available for purchase." Has anyone else encountered a similar problem while migrating to Google Play Billing Library 5 with RevenueCat in a React Native app? Any insights, guidance, or suggestions would be greatly appreciated. I'm eager to resolve this issue and move forward with the migration successfully.Thank you in advance for your help!
Hello! We just integrated RevenueCat after taking the project over from some overseas developers and I am having a bit of trouble getting the offerings to load on our billing page to display the pricing and allow a subscription to go through. getOfferingsFromRevCat() async { try { Offerings offerings = await Purchases.getOfferings(); if (offerings.current != null && offerings.current?.monthly != null) { setState(() { package = offerings.current!.monthly!; offerPrice = offerings.current!.monthly!.storeProduct.priceString.toString(); }); } } on PlatformException catch (e) { if (kDebugMode) { print(e); } } } I run this when my screen is loaded and use $offerPrice to display the monthly pricing dynamically, in order to be able to adjust pricing down the line without pushing any new updates to the app. I’ve read through the different guides on sandbox / testflight things that have to be done (ag
After a `POST /v1/receipts` how can I eitherremove that purchase or transfer it to another uservia API. I didn’t find a corresponding endpoint.
Hello, talents.I have some issues to get products from App store.My Env:"react-native-purchases": "^6.6.5",Current Situation:I have 2 products and I could get products from App store using await Purchases.getOfferings();But I updated the product information including product IDs. (For example, one of my product ID was myApp_5_1m, but updated it into myApp_55_1m)Now I see some error when calling getOfferings(). *Already went over 3 days once products info were updated. It’s the error 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] But I am still getting the product info using getProducts([‘myApp_5_1’]).How can I get the updated products info using getOfferings function?
Good Afternoon, I implemented revenue cat in my flutter iOS app for a consumable in app purchase that allows the buying of 50 tokens. Everything works in production except the following. After a user buys one set of 50 tokens, if they try it again, it says “You have already purchased this product. Would like to get this for free?”. I need that to not be the case, the user needs to pay for each purchase regardless of if they have already purchased it. How do I fix this issue? Can't seem to find info about this anywhere. Thanks!
When testing subscriptions using the iOS StoreKit simulator, the purchase callback is only triggered when the purchase fails. It does not trigger a callback upon a successful purchase.I had set storeKit configuration and uploaded cer, when I finished a testing purchase, after get success feedback from simulator, the callback of Purchase.purchase(package) { .. } had not showed anything, but if failed callback was working.EnvironmentmacOS: Ventura 13.6Xcode version: 14.3.1 (14E300c)Simulator: iPhone 14 Pro - iOS 16.4RevenueCat: 4.23.1Step 1.Success to purchase/ Receive Finish on the Xcode consoleThe Callback of Purchase.shared.purchase(_ package,:) was not working.
Hi RevenueCat!I am able to purchase packages without any issues, but I am having an issue when purchasing a package with a Subscription Offer. I’ve tested with the following:Xcode 14.0macOS Monterey 12.6iOS 15.5 & iOS 16.0Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)RevenueCat 4.12.0, 4.11.0, 4.9.0, 4.8.0 I have tested using both a simulator via a debug store kit and on a device in Testflight, referencing the documentation provided here: https://www.revenuecat.com/docs/apple-app-store Generated and uploaded the .p8 file with the issuer Id as described here:https://www.revenuecat.com/docs/in-app-purchase-key-configuration I followed the documentation here for implementation:- https://www.revenuecat.com/docs/ios-subscription-offers My RevenueCat is configured as follows:let builder = Configuration.Builder(withAPIKey: <my_api_key>) .with(usesStoreKit2IfAvailable: true) .build()Purchases.configure(with: builder)My purchase code is as fo
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.