Get help with your SDK implementation.
Recently active
We added two subscriptions to Revenue dashboard, and that didn’t fetch the subscriptions on mobile side correctly.It seems have problem between Revenue and ionic project so what’s the best way to troubleshoot this problem?
When showing the IAP action sheet there is some delay upon a purchase attempt and a response from apple confirming success to trigger the SDK callback, this leaves the user a bit confused whats going on... This all goes on inside the RC `purchasePackage` method where it doesnt let me know the time period between user confirming purchase and the callback received from the SDK that its all been doneIs there a way to handle for this?
Hello, I am getting following error when syncing purchases or getting subscriber info:Key Value attribute_errors ( { "key_name" = "$idfv"; message = "IDFV cannot be modified."; }, { "key_name" = "$appsflyerId"; message = "AppsFlyer ID cannot be modified."; } ) finishable 1 nserror-code 16 nserror-domain RCPurchasesErrorDomain NSLocalizedDescription There was an unknown backend error. NSUnderlyingError Error Domain=RCBackendErrorDomain Code=0 "" UserInfo={NSLocalizedDescription=} rc_successfullySynced 1 readable_error_code UNKNOWN_BACKEND_ERROR The documentation says I should report the error, so here I am :)Please advise Thanks
User A buys subscription package A, they reinstall the app to login account B, Subscription A package automatically switches to account B. Why?
Is it possible to get notified when a new subscriber is created in RevenueCat through a webhook or other mean?Alternatively, is there a REST endpoint to retrieve a list of subscribers (hopefully with filters such as created_at -gt Yesterday or using the list identifier from the dashboard [eg. lists/listb105f00d)
Hello. This is the fourth app I’m setting up using RevenueCat (so thanks!), only this time not subscription-based.It is an iOS app using v.3.14.1 of the SDK, still performing tests in the sandbox environment. Basically I am using consumables with entitlements and those entitlements disappear after the app is uninstalled, even when the dashboard still reflects that the user should have the entitlement.No matter what I try there are zero entitlements in the purchaserInfo after uninstalling the app:When I use the delegate When I restore transactions When I refresh the purchaserInfoIf I check the entitlements before the user deletes the app, even on subsequent app launches, the purchaser info reflects everything correctly. Repurchasing any consumable fixes this, at least until the app is uninstalled again.Docs seem to indicate that we can use the consumables with entitlements, so am I missing something obvious? I am happy to share logs.Thanks.
Hello! I’m really destroyed and don’t understand how to solve my problems.I have one apple account and can create multiple user-accounts in my app. First case:User A login (with logIn()) Buy purchase User A logout (with logOut()) User B login (with logIn() another appUserId)Now User B have subscription from User A. But i want the User B to not have a subscription in this case. What can i do?And more one, in this case after login method getPurchaserInfo() return not active subscription (I’ve been awaiting more than 5 minutes (time for reset cache but got not active). After this i show payment card and by tap (call method purchaseProduct()) user B see system alert with “have already subscription”. And after this method getPurchaserInfo() for User B return active status of subscription. What can i do in this case?Thanks for support!
So I’m getting ready to launch our company app that features a paid subscription model. The app is built in Unity and we’ve been testing the features through testflight for the last few months now. A few weeks ago I looked into the advantages of using RevenueCat to manage the subscription side of the app. Below are a few questions and issues I’m having and wondering if anyone can help me.I’ve gone through the step-by-step guide on how to implement RevenueCat into my Unity project. At the moment I’m just trying to get the basics working. As a start all I’m looking to do is pull in the different products from our App on RevenueCat and display them on screen.I’m wondering if it’s possible to test this in the Unity Editor. Am I able to pull in the subscription products from RevenueCat when running from the unity editor? Or is it exclusive to running the built app on a phone. ( Currently when i run in the editor with the existing code i’m getting a null reference error on “_wrapper” in the
[Reposting in SDK’s as I accidentally posted in General]I’m trying to push my app out for Beta testing but when I upload a build to TestFlight and run it the call to Purchases.getPurchaserInfo() hangs and never returns. It works on the same device when just running outside of TestFlight. I can run through the whole IAP flow when running on this device. But as soon as I push to TestFlight and run it through there it just hangs waiting to get purchaser info. I think these are the logs needed:default 12:08:37.873277-0500 Runner [Purchases] - DEBUG: There are no requests currently running, starting request GET /subscribers/$RCAnonymousID0X0P+0f621ae3fbd374db9b96d0b6d31ea5d20default 12:08:37.873327-0500 Runner [Purchases] - DEBUG: API request started: GET /v1/subscribers/$RCAnonymousID:f621ae3fbd374db9b96d0b6d31ea5d20default 12:08:37.883570-0500 Runner [Purchases] - DEBUG: There's a request currently running and 0 requests left in the queue, queueing GET /subs
I’m trying to set up Purchases on a watchOS app which has a companion iOS app.I thought I could consume a Swift package for multiple targets at the same time but as per this post on SO it’s not quite straightforward as I thought it would be.I followed Diego Carrera’s solution and added the Purchases framework in the Watch extension like this:General tab, and in Frameworks, Libraries and Embedded Content press +, select the package and press AddThis did the trick for me and on my Watch App Extension I can finally see the import Purchases option.I also added a shared singleton class to manage Purchases’ delegate, both for the iOS and the watchOS app. There, I configure everything, set the delegate to self and retrieve the purchaser info.This is all good if I run everything on the iOS app but when I do the same on my watch, Purchases won’t work and I get no information at all:<PurchaserInfo originalApplicationVersion: (null), latestExpirationDate: (null) activeEntitlements: {}, activeS
For the last 30 days our app got 137 errors where NSUnderlyingErrorKey is Error Domain=SKErrorDomain Code=0 "(null)", the problem occurs only in production and for different product identifiers. With very few other errors that brings about 0.5% fail to success payment ratio. Is there really something we can do to prevent this issue? What is the usual payment fail to success ratio you see across other apps? What is the conversion from tapping on CTA (for example “Continue”) on the paywall (initiated the appearance of system pop-up with payment details) to Successful payment?
I know its not possible to cancel a user’s subscription using the RevenueCat’s SDK however we want to build a user experience in the app where if a user presses on a ‘Cancel’ button we navigate the user to the settings app of their OS. For example in React Native you can use `Linking.openURL('app-settings://notification/')` to navigate the user to the notification's settings of the app. Does anyone know what the url is for the `manage subscription` setting page in iOS and Android? If you want to see a real-life example of this, check out the Strava App.
Hi,I would like to ask if the UpdatedPurchaserInfoListener works across platforms. eg. user will be logged in on iOS and the Android app and will buy a product on one of them. Does this listener also trigger the other platform's UpdatedPurchaserInfoListener? (when the other app is active)
First I want to thank you for the great platform! What happens if an anonymous user purchases on device A, then restores (still as an anonymous user, but presumably with a different anonymous user ID) on device B? The docs say, that if my app “Does not have any login mechanism and only relies on RevenueCat anonymous App User IDs.”, I should choose “transfer purchases”.I want to make sure, that in the case described above, the user has access to the purchase on their Devices A and B (both logged in with the same App Store User that performed the original purchase on device A).So will device A lost access to subscription? Or both devices will have access to the subscription?if so, does this mean that one person can buy a subscription with one account and distribute it?What happens if an anonymous user purchases on device A, then restores (still as an anonymous user, but presumably with a different anonymous user ID) on device B and then restores to device A again?Thank you
I have used the latest version of purchase_flutter (3.9.3) but when I want to use Amazon, the parameter useamazon isn't recognized by Android studio. Any idea how to get it work?
A customer of ours is encountering the error shown below in our React Native app on Android. It seems that from my research, this message is coming from Google’s subscription service. How do we troubleshoot?
ERROR: 🍎‼️ Error fetching offerings - Error Domain=RCPurchasesErrorDomain Code=23 "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).This could be due to a timeout, or a problem in your configuration.I’ve created my config file multiple times still facing this issue can anyone help me with it ???
I have an app made in Flutter that is running on Android and using subscriptions. The most basic things are working. But this is not:User have an active subscription and then cancels the subscription.I wait for more than ten minutes. I restart the app.Still PurchaserInfo says willRenew is true and unsubscribeDetectedAt is null.What can be done to get the updated information?
Hello,As far as I can see there is a subscriptionPeriod property available on both Android and iOS, however I do not see anyway of accessing this through the React native SDK. Is this something that is available? Thanks
I am trying to create an implementation to deal with billing issues for subscribers.I would like to inform users how much time they have in their grace period before a subscription is cancelled. To do this, I need to manipulate the Billing Issue Detected At attribute of the EntitlementInfo object. I have tried to find any info on what sort of format this date would be provided as, but am unable to.Could an example of it please be provided?
Hi, We were wondering if there is a way to get the experiment name or id and the variant the user is in from the user object in the React Native SDK?Or does it come via the Webhook at least? Thanks so much!
When testing with release version of a react-native app, I continually get the sandbox subscription options when attempting to purchase. For ios, I have no sandbox account setup, but this happens on multiple devices.For Android, I removed my sandbox account and this happens. Everything shows up and the purchase completes OK, but is always in the sandbox.
Is it possible to check on the client-side if a user has an active free-trial?Under the settings page in our app, we want to display a button that says ‘Cancel free trial’ that helps the user with their subscription management.I would like to only display this button to users who have an active free-trial, not to regular users or paying users who are not in the free-trial stage.Is there a RevenueCat option that I am missing? Or would I have to hack something together to make this work?Thanks <3
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
Why an entitlement is not activated when I call the restore purchase method?
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.