Get help with your SDK implementation.
Recently active
I am attempting to determine the subscription status, am currently using Swift. The following works:Purchases.shared.offerings {...but the following does not exist:Purchases.shared.getCustomerInfo {… I am currently on version 3.10.7 What am I missing?
Sorry if it’s been asked before, I couldn’t find any similar questions. As far as I can tell, it’s not possible to access the user attributes via React Native SDK, only REST API, can someone confirm? Thanks.
I have been going over the requirements for a successful request for In-App Purchase products at app startup, as explained here. One such requirement is to have signed any outstanding App Store agreements, such as the Paid App Agreement or the Tax Agreement. Now, these come by surprise and every once in a while I find a new alert in App Store Connect prompting me to sign them.The question is: will the request for In-App Purchase products fail as soon as there is a new requirement for an outstanding document from the App Store? If that is the case, is there a way to get notified of such requirements to limit disruptions to the subscription flow?Thanks!
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)
User A buys subscription package A, they reinstall the app to login account B, Subscription A package automatically switches to account B. Why?
Hi, I have checked all of the items in and made sure its all correct. The app is not released but published in a close testing channel which I’m part of. Still, no offerings come back, whats going on? These are my logs: D/[Purchases] - DEBUG( 1110): ℹ️ API request started: GET /subscribers/%24RCAnonymousID%3Aafb7767ec56d420081f8cce0563c5200D/[Purchases] - DEBUG( 1110): ℹ️ API request completed with status: GET /subscribers/%24RCAnonymousID%3Aafb7767ec56d420081f8cce0563c5200 201D/[Purchases] - DEBUG( 1110): ℹ️ Sending latest PurchaserInfo to listener.2I/System.out( 1110): (HTTPLog)-Static: isSBSettingEnabled falseD/[Purchases] - DEBUG( 1110): ℹ️ API request started: GET /subscribers/%24RCAnonymousID%3Aafb7767ec56d420081f8cce0563c5200/offeringsD/[Purchases] - DEBUG( 1110): ℹ️ API request completed with status: GET /subscribers/%24RCAnonymousID%3Aafb7767ec56d420081f8cce0563c5200/offerings 200D/[Purchases] - DEBUG( 1110): ℹ️ Requesting products from the store with identifiers: somus_isa
I am getting a "Invalid Product Identifiers" error followed by this other error:"None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect [...]".This is for a new iOS app, not yet live on the App Store. I'm testing on a real device.I have followed the guides carefully and I have gone over the post here and some other posts in the community but can't figure out what the problem is.This is all I have checked:"The product identifier set in RevenueCat matches exactly with the store". Not really sure what is exactly meant by product identifier here. I have tried both the Bundle ID and the SKU and got the same errors. ❓ "You're testing on a physical device and not a simulator". I'm testing on physical device. ✅ “The bundle ID in Xcode [iOS] or package name [Android] match what's in App Store Connect or Google Play" Bundle id matches ✅ “If you have both development and production environments for your app, be sure to double check you are using the c
Hi , My Android app suddenly became returning an empty string on getDescription() . no code change on my app. however thegetProduct still return the products info.
Hi, I have successfully running RevenueCat in-app subscriptions and now integrating another subscription method - Stripe Web Payments. I have created Products in Stripe and have created Products in RevenueCat using product ID from Stripe as product key in RevenueCat. I also have tried to create RevenueCat products using price id from Stripe. After I make a purchase in Stripe, I want to validate receipt so purchase appears in RevenueCat by making a POST request to API:curl --location --request POST 'https://api.revenuecat.com/v1/receipts' \--header 'X-Platform: Stripe' \--header 'Authorization: Bearer *** MY_STRIPE_KEY ***' \--header 'Content-Type: application/json' \--data-raw '{"app_user_id": "iLxQ2wdl26","fetch_token": "sub_1KRgPlGOGvcC5HQI5pE"}'But no matter of the configuration, I get this in response:{"code": 7103,"message": "The receipt is not valid."} Maybe anyone has any tips that I might be missing? Cheers,Daniels
Got this error while trying to setup Purchases 3.4.3 in React Native.Method addObserver must be called on the main threadAnyone faced it?
Besides the sdk still being in beta(rc), would you say it has the features to be used in production? or does it not yet have all the basic features of the old sdk? Will RevenueCat support the new refund API apple introduced past WWDC with v4?
Hi,I have multiple entitlements in my app and I want to group the products under respective entitlement on my paywall. I am able to get only purchased entitlements from `getPurchaserInfo` . Is their a way to get the "Associated Entitlements" for all products (both purchased and not purchased)? Thank you
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.
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?
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!
Hey,We are reaching you because we have some questions concerning the switch between alias id and transfer purchase.Today we use the alias behavior, but we would like to have one user id = 1 subscription, so we should migrate to the transfer purchase behavior.What will happen for users who share a subscription with multiple ids (aliased)?Also, we would like to know if it's possible to detect the email linked to a subscription before he restores his purchase? If the purchase is already linked to an email, we would like to prevent our users to restore their purchase.Thanks a lot!
When using revenue cat on flutter, I am getting the billing unavailable error at times and cannot access any subscription info about the user, Mostly occurs when device starts offline, then later refreshed with internet connection, navigating to the page that checks subscription then gives billing unavailable error
Hello,I have user crashes related to configuring Purchases. However, when i have experienced this crash, it is when i am trying to close the app. I have a single exit point and use:startActivity(intent);finish();before moving to a new intent. My exit looks like the followingThread.currentThread().interrupt();finish();System.exit(0);finish();Any thoughts?
[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
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)
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?
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. 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!
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 ???
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.