Get help with your SDK implementation.
Recently active
can any one help me to test in-app purchase build in expo ESA sandbox
I am using Revenue Cat in my flutter app but I want to link a purchase to the underlying Store id to avoid duplicate usage. I don’t have any login method in my app so I use the revenue cat anonymous id. How do I get access to the underlying store id?
We’ve been following the Facebook Ads documentation. However, I can’t find the reference to get “anonymousID”. Any guidance on that? Also we are using Unity, there isn’t a Unity example for it. Is there a reason for it?https://www.revenuecat.com/docs/facebook-ads#2-send-device-data-to-revenuecat
I have a problem fetching the current subscriptions from the Google Play Store/RevenueCat.As you can see in the picture, activeSubscriptions is empty. The monthly subscription shows up with the correct purchase date but not the expiration date of the newest renewal.I have some active purchases, which get also displayed correctly with the corresponding entitlement, but the entitlement for the subscription also does not show up.After calling restorePurchases() the subscriptions reappears, so I don’t think it’s a configuration issue. Also directly after buying the subscription it is showing up correctly for the first few renewals (before the automatic testing cancellation). The logs show `Vending CustomerInfo from cache` so probably the subscriptions don’t get cached correctly?I appreciate any help as this is an issue we don’t want to release the app with.
https://github.com/RevenueCat/purchases-ios/issues/1527As mentioned here, the workaround suggest us to separate the `Userdefaults`.I would like to ask how to migrate the already cached data to the new `Userdefaults`. Because once we do that when we call `Purchases.shared.getCustomerInfo` we won't get the `CustomerInfo`(data not cached in new `Userdefaults`).
HeyWhat would be the recommended way to show discounted offers on holidays for subscriptions, like black friday and so on? For flutter application android and ios markets.Thanks
Hello. I'm able to list products and make purchases but after making a purchase I get this error.I read on the documentation that if you get this error after purchasing I need to make sure the shared secret is correct. So I double checked but got the same result, then I regenerated another shared secret but I'm still getting the same error message:There was a credentials issue. Check the underlying error for more details. Invalid API Key.at node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:105:59 in promiseMethodWrapperat node_modules/react-native-purchases/dist/purchases.js:401:74 in __generator$argument_1at node_modules/react-native-purchases/dist/purchases.js:33:26 in stepat node_modules/react-native-purchases/dist/purchases.js:5:61 in fulfilled If I try to restore my purchases I get the same error. Hopefully somebody can help me with this issue.This is the code I'm using to restore:const restore = async () => { try { await Purchases.restorePurchases();
Is there a way to get user’s purchase history via RevenueCat SDK?
My project offers a website and an app. Most users start on the web, then later download the app. They frequently encounter a problem in the following scenario.StepsWebsite: Create an account. Upon login, the site asks the RevenueCat REST API if the user has an existing subscription. Since the account doesn’t exist in this scenario, RevenueCat creates it, according to the documentation. Device A: Install the app and receive an anonymous RevenueCat ID. Log into the account previously created on the web. As mentioned in this table, RevenueCat automatically merges the anonymous ID with the app ID. The user’s one alias slot is now used up. Device A after logout/reinstall, or on Device B: Receive a new anonymous RevenueCat ID. See an offer to upgrade (usually during app onboarding) and subscribe. Later, log into the existing account to access user data. RevenueCat does not merge the anonymous ID with the existing app user ID, so it now reports that the user does not have an active subscript
When the user buys the subscription via the promo code link ((https://www.revenuecat.com/docs/ios-subscription-offers) (Redirect to appstore)) it seems like RevenueCat does not handle or receive any events from apple, and no webhooks are fired for that specific user whatsoever so we are not able to give that user a premium access. Can you please help? please respond asap, thanks
I added 2 products as you can see above (the first 2 are the products that i manually added) After testing both subscriptions on both devices i noticed that 2 broken products got added automatically. I’ve also noticed that when i test the purchase (both) , the callback doesnt return any active entitlments. What am i doing wrong? Can someone explain me what are those 2 products that gets added automatically? Thanks
Just a day ago I was able to make a test purchase on my actual iphone with no problem, but suddenly I get this error and the purchase fails.When I try to purchase again after the failed attempt, I get a dialog that says "You are currently subscribed to this subscription.What could be the cause?I have not changed the shared secret or the bundle Id.Thanks in advance. [ ] [Purchases] - DEBUG: ℹ️ There are no requests currently running, starting request POST receipts[ ] [Purchases] - DEBUG: ℹ️ API request started: POST /v1/receipts[ +856 ms] [Purchases] - ERROR: 😿‼️ The receipt is not valid.[ ] [Purchases] - DEBUG: ℹ️ API request failed: POST /v1/receipts: The receipt is not valid.[ ] [Purchases] - DEBUG: ℹ️ PostReceiptDataOperation: Finished[ ] [Purchases] - DEBUG: ℹ️ Serial request done: POST receipts, 0 requests left in the queue[ ] [Purchases] - ERROR: 😿‼️ The receipt is not valid.[+1072 ms] [Purchases] - ERROR: 💰 Product purchase for 'MY_P
I have double checked everyone, bundle Id, in-app cert, App Store Connect App-Specific Shared Secret, everything! In production, Revenue Cat works, but in the sandbox, I get a error ERROR: 😿‼️ The receipt is not valid.The configuration for production and sandbox are the same. Is this a RevCat issue?
It’s crazy the amount of posts here regarding this issue.7 times I have resubmitted by app and every time it’s rejected because the receipt will not validate.“It’s one of those Apple quirks” is not a valid answer. RevenueCat should get in a room with Apple to try and fix this.I have tried the suggested “Delete and re-add your subscriptions” with no luck.I’m left with no option but to remove RevenueCat! Any other suggestions?
We have an app that requires the users to login before making a purchase.We’re observing (in our sandbox testing) that occasionally a users subscription gets transferred from one of our users id’s to an anonymous id. What's quite frustrating is this is happening very infrequently and we haven’t been able to recreate it predictably.Here is an example event (id: 0a5fc80d-ca5a-451a-8a31-cb16b95a3a92){ "event_timestamp_ms": 1643816650712, "store": "APP_STORE", "transferred_from": [ "ce3873cc-10a7-46d0-9463-43364f6b2cb8", "$RCAnonymousID:6a5e992f89a44858b2a8effa6996f257" ], "transferred_to": [ "$RCAnonymousID:a0490b63949a4b6e99a3bf372b3da781" ]} Our touch points with the React Native SDK are rather light:We have an useEffect() that calls Purchases.setup(key) with our keys in our main App.tsx as per the examples. When a user logs into our app we call Purchases.logIn(user.id) using the response to set our initial local subscription state. To keep things up to date we call Purch
I have integrated into our React Native Expo app RevenueCat, following all the guides step by step.I publish the app to TestFlight today and I can see the purchase popup and product information correctly. After purchasing the product I see a message saying: “You’re all set, your purchase was successfull.”And just after that message we are doing an alert with the value of “productIdentifier” property.const {customerInfo, productIdentifier} = await Purchases.purchasePackage(expertAdvicePackage); Alert.alert(JSON.stringify(productIdentifier));The alert shows this: We already checked bundle id and app shared secret and everything matches exactly as in the AppStore. This is killing me because I can’t pass this point and need to move this into production asap. Appreciate any help or advice. Kind regards,
Has anyone seeing the Apple or RevenueCat server response time to be very slow in the last week?12/23-12/28+? A few weeks ago the response time was great, very fast. Currently it can take several minutes to authenticate a purchase between Apple and RevenueCat. This has led to several App Store rejections this week. Anyone else experiencing this? Should I just wait till the new year? Maybe Apple and RevenueCat are doing maintenance so servers are slow. If the apple tester/review person sees a long delay they reject the app….
After importing the RevenuCat package along side Admob, android resolver in unity runs and runs for like 30 mins and crashes, also happens when importing AdMob after importing RevenuCat
I’m trying to follow the basic Android consumable in-app purchase flow, and after setting a basic product in Google Play, RevenueCat is giving me this weird error: Identifier: <redacted>Platform: Play StoreStore Status: Incompatible product. Product is incompatible with RevenueCat Android SDK version 6 or above and equivalent cross-platform SDKsLearn more. The documentation points to https://community.revenuecat.com/tips-discussion-56/google-i-o-22-announcements-rc-product-priorities-1620/index2.html which doesn’t seem to have anything to do with consumable / non-subscription products, so isn’t helpful. So far I’ve tried searching these forums and google looking for an answer or guide, and just saw another post with a similar error for flutter. Any pointers?
The app stores are Play Store and App Store only and there is no back-end support. I am migrating from the official in_app_purchase plugin, should I call the syncPurchases() function? The Purchases SDK automatically detects new transactions and sends them to RevenueCat. However, when migrating from an older system, you need to tell Purchases to sync to ensure we are tracking your subscribers correctly.The way to do this is: if your existing subscription code knows you have a subscription, but RevenueCat does not, then restore transactions. Can’t RevenueCat directly check with Play store or App store account to know this when a CustomerInfo is fetched?Also, other than migrating, is there any other circumstances where I need to call this function? I see people calling (here and here) this function after or before performing a purchase and I am confused.Can someone help? Thanks.
Hello! I’m developing a SwiftUI app and am using code from the Magic Weather example app to implement a paywall for my subscription. The initial version is working just like I would expect it to (displaying the correct names, prices, duration, etc). However, I started thinking about different scenarios to see if my code would handle them. One of the first things I tried is causing me concern. If I launch the app with no connectivity I see errors logged, which is not unexpected. When I restore connectivity I almost immediately see some RC activity. [Purchases] - DEBUG: ℹ️ applicationDidBecomeActive[Purchases] - DEBUG: ℹ️ CustomerInfo cache is stale, updating from network in foreground.[Purchases] - DEBUG: ℹ️ Offerings cache is stale, updating caches However, when I view my paywall (which is just PaywallView.swift from the SwiftUI Magic Weather at this point) there are no offerings displayed. I added some logging and UserViewModel.shared.offerings is still nil even after connectivity i
My project is written in objective-c and I am using the following method to fetch data: [[RCPurchases sharedPurchases] getOfferingsWithCompletion:^(RCOfferings *offerings, NSError *error) {}When the device is out of network, this method doesn’t get any data, which is logical as there is no internet connection. But the device already fetched this data earlier. How can I read this data? I can save the fetched data manually, but I found that RevenueCat has the mechanism to cache the data, but couldn’t find a way/thread to read this data in the forum. It would be a great help if there is an easy way to read the fetched data offline.
I’ve configured Free Trial offer on both Monthly and Yearly Plans in Google Play Store.The free trial (7 days) is not showing payment sheet.I get the following object - {…,freeTrialPeriod:P1W,...} in Logcat.Could it be because the Revenuecat use a Billing lib. with version 4.1.0? The version of Revenuecat that I use now is 5.6.3
Hi Team, I am runing an adnroid application with Revenuecat sdk. We received a report from a guy regarding the storage of Revenuecat authetication token. Is it possible for him to cause any critical damage using that api key?? Best Regards,SHlok K
I have an iOS app with a companion watchOS app. (The watch app does support running without the iOS app)When testing in Xcode with a storeKit Config file, I’m noticing different behaviors. On the iOS app, If I refund the transaction through the storekit > manage transactions window, the SDK immediately responds to the event and thus updates the entitlements etc. On the watchOS app, If I refund the transaction there is no response from the SDK. The only way I’ve been able to reset the entitlements is to go into the revenue cat dashboard and delete the associated customer. I’ve configured and implemented the Revenue Cat SDK in both through a single class such that the overall integration is identical. Similarly, they are both referencing the same storekit Configuration file that matches the offerings set up in the Revenue Cat dashboard. The bundle Id’s reflect MyApp and MyApp.watchkit accordingly. Is this the expected behavior? Does the SDK listen for events differently on watchOS?
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.