Discussion and help from anything related to RevenueCat.
Recently active
Hi person that may help,is it possible for all an app’s features be made fully available to a user, only after a second party “administrator” has approved for that full functionality and the administrator pays for the subscription/purchase?So, the administrator verifies the user and then allows the app user full access (say from free trial access status) and then the administrator pays the monthly/yearly subscription for the user’s access - for multiple users. So that the full App experience is a feature of their relationship.I hope that gives you an idea for what I’m trying to ask/understand - if it is possible, some pointers would be appreciated 😀
Title mostly says it all. :)Currently I have two subscription products configured: a yearly and a monthly. I thought it’s nicer to tie the trial to the monthly subscription. But the main question is whether I should add a dedicated button saying “Start trial” or something like that, even though if I understood correctly (please correct me if I’m wrong) my monthly subscription is the actual trial product, and there’s no standalone trial available.So again, the question if it’s best practice to add a dedicated Trial button even though I have the button for the monthly subscription already on my paywall.Thanks!
I’m testing my react native app. I ‘bought’ 1-month subscription, I guess there’s automatic renewal. But after some minutes I get empty active object: {"active": {}, "all": {"premium": {"billingIssueDetectedAt": null, "billingIssueDetectedAtMillis": null, "expirationDate": "2023-02-17T17:45:49.000Z", "identifier": "premium", "isActive": false, "isSandbox": true, "latestPurchaseDate": "2023-02-17T17:30:49.000Z", "originalPurchaseDate": "2023-02-17T17:23:53.000Z", "ownershipType": "UNKNOWN", "periodType": "NORMAL", "productIdentifier": "com.NAME.1month", "store": "PLAY_STORE", "unsubscribeDetectedAt": null, "unsubscribeDetectedAtMillis": null, "willRenew": true}}}If I want to buy it again, it says that I already have subscription.Is it testing limit or there is something wrong with my subscription?
Hello!I have an app working perfectly and it's time to implement purchases in it through Revenuecat.However when I install the react-native-purchases library several errors related to Swift are displayed (both when I try from the console and from XCode).The RN version I'm running is 0.63.4, Xcode 13.0 and I'm testing it in simulators/devices with IOS 15.Are there any known incompatibilities with these versions?Some errors I get when trying to compile:Undefined symbol: protocol conformance descriptor for Swift.UInt8 : Swift.FixedWidthInteger in Swift Undefined symbol: protocol descriptor for Foundation.LocalizedError Undefined symbol: method descriptor for Foundation.LocalizedError.errorDescription.getter : Swift.String? Undefined symbol: method descriptor for Foundation.LocalizedError.failureReason.getter : Swift.String? Undefined symbol: (extension in Foundation):Foundation.LocalizedError.recoverySuggestion.getter : Swift.String? Undefined symbol: (extension in Foundation):Foundation.
Hi there,I could not find an example or answer to this - but how do I display all products from an offering (along with price AND subscription duration)? Ideally I can iterate the offerings?.current.availablePackages correct?But then, how do I get each of the package price AND sub duration? Thanks in advance,
Hello!We’re testing our app and need to clear all user data and purchase history to test buying products like a new user. How can we do that?I tried to delete customers, but they’re still on the list: http://joxi.ru/krDW8Y7CGwpoZAThank you in advance for the answer.
We use RevenueCat in Observer-Mode and only want to use it for logged-in users.I read the post:It mentions:Only configure RevenueCat with an userId Don’t call logoutThere is one issue with this approach though - if the user logs out and then makes purchases RevenueCat might pick them up. Is there a way to destroy the RevenueCat instance in order to get in a state equal to configure not being called? Maybe calling `Purchases.sharedInstance.close()` when the user logs our?
Is it possible to send events to more than one Amplitude project? I have different Amplitude projects for iOS and Android, so I would like to send all RevenueCat events to both projects. However, I only see the option to add one API key on the RevenueCat API integration page.
can any one help me to test in-app purchase build in expo ESA sandbox
I’m now transferring my subscriptions to RevenueCat using Observer Mode on the server side and found out that for iOS users I should use the API key for ios and the opposite for Android.Docs says that I shouldn’t use a private API key for my case.Is there any universal API key?
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
I want to integrate with Adjust, and I want to do so the easy way (I would prefer not to be made to jump through whatever obstacle course that the RevenueCat integration entails):Is there an easy way for me to fetch the receipt from the client (right after a subscription has been made and approved), as well as also doing the same kind of thing on Android?If there isn’t, I would have to assume that this is purposefully avoided so as to make migration harder, and that in the process of making migration harder you are also making other things harder.
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?
It is suggested to turn off isAutoLogAppEventsEnabled from Facebook in code. ttps://www.revenuecat.com/docs/facebook-ads#2-send-device-data-to-revenuecatFor Facebook Ads integration to work, should I turn off the “Log in-app events automatically” for both IOS and Android on the Facebook app dashboard?
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
Hello! In my DB I have around 600 new Users and in RevenueCat I have over 1800 new Customers, both numbers are from only January 2023. The difference is way out and I can’t figure out why.Is there any advice on the correct way to filter de Customers so that I can match my DB users with the RC customers?Also, when I export the data there is some weird information like:has_made_sandbox_purchase has 3 different values: t (true), f (false), empty is_rc_promo has 3 different values: TRUE, FALSE, empty The empty parameter appears in many results in many attributes and its confusing.Hope you can help me understand why is this and how can I get the correct number of Customers.Thanks in advance!
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
We are seeing a discrepancy between the Revenue numbers that the individual App Store/Google Play stores are reporting and what RC is reporting. The difference is small, only about 2-3%. Could someone give me some insight into why that might be?Is there a timing difference? Is one recognizing discounts and another isn't?
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
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.