Get help with anything related to RevenueCat.
Recently active
Flutter version: 3.10.6RevenueCat version: 5.0.3Platfrom: Android PlatformException(23, There is an issue with your configuration. Check the underlying error for more details., {code: 23, message: There is an issue with your configuration. Check the underlying error for more details., readableErrorCode: ConfigurationError, readable_error_code: ConfigurationError, underlyingErrorMessage: There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from the Play Store. More information: https://rev.cat/why-are-offerings-empty}, null) on main file:Future<void> _configureSDK() async {// Enable debug logs before calling `configure`.await Purchases.setLogLevel(LogLevel.debug); PurchasesConfiguration configuration; configuration = PurchasesConfiguration(StoreConfig.instance.apiKey)..appUserID = null..observerMode = false; await Purchases.configure(configuration);}On Futurebuilder in premium page:Future<List<Package>>
Following the documentation instructions located here on this RevenueCat “checking-if-a-user-is-subscribed” page i’ve been unable to async verify is a user is already subscribed. My code is as follows:```const checkIfPurchased = async () => {try {await Purchases.configure({ apiKey: APIKeys.apple });await Purchases.syncPurchases();const customerInfo = await Purchases.getCustomerInfo();const ENTITLEMENT_ID = 'app_199_1m';if (typeof customerInfo.entitlements.active[ENTITLEMENT_ID] !== 'undefined') {setSubscription(true);}return user?.subscription;} catch (e) {Bugsnag.notify(`Error checkIfPurchased(): ${e}`);}};this does not work. I get undefined for customerInfo.entitlements.active[ENTITLEMENT_ID] . What am I missing?
why the free trail is not shown in my react native app but i was saw this in testing not in production.even the introPrice variable is null but in google play subscription my monthly plan has free trial
ContextFlutter base app with Revenue Cat support for store in-app items payments. Developed for Android and iOS. Currently in beta access on Play Store for mainly use in Singapore area.ProblemWhen a user attempts to buy a one-time in-app item on Android devices. We catch the following exception.PlatformException(3, The device or user is not allowed to make the purchase., {code: 3,message: The device or user is not allowed to make the purchase., readableErrorCode:PurchaseNotAllowedError, readable_error_code: PurchaseNotAllowedError,underlyingErrorMessage: Error updating purchases. DebugMessage: . ErrorCode: 3.,userCancelled: false}, null)Although we have our in-app item active in Play Store Console, Ids are synced between Play Store and Revenue Cat, our Play Store profile is set to receive payments, and, we already had payments succeed before. On iOS we have no issues on this matter. Every purchase completes normally.Example of a refused payment : Based on our search, and after a respon
Hi there, we are setting up some products using the new Google Play subscription structure and I was reviewing the RC docs to get some help with naming, however there are a few things that I think might be incorrect. The docs say the following:Click "Add base plan" and fill out the associated fields. Make sure to set a price, and click "Activate". Since subscription products can only have a single base plan with the same duration and renewal type, a good way to name base plans could be <duration>_<renewaltype>, eg. annual_autorenewing. In Google Play I am able to create multiple base plans with the same duration and renewal type and successfully import them into RC as products. Am I missing something there? Base plan ids do not seem to allow underscore and so the suggested naming convention won’t work. I just wanted to confirm if these are issues in the docs or whether I am misunderstanding something fundamentally 😅. Many thanks,Lydia
In React Native, react-native-iap was used well.But this time, I want to add payment by changing to expo.I don't use google cloud.There were problems from the first.That solution seems too difficult.https://www.revenuecat.com/docs/creating-play-service-credentials I have “no link an exists google cloud project”.
I have created an application that allows users to try the application feature without attaching the credit card details. Is there any way from revenue cat to try the application for free for a few days without attaching a credit card?
Hi there!How is trial_period calculated in `/v2/products/` endpoint?1) We have a subscription with an offer in PlayStore with the Eligibility criteria type: Developer determined and the only Free Trial phase, but the data for this subscription does not match the expected values:"subscription": { "duration": "P1Y", "grace_period_duration": "P14D", "trial_duration": null} 2) For AppStore subscriptions, there is no data available at all:"subscription": { "duration": null, "grace_period_duration": null, "trial_duration": null}, even though the subscription has an Introductory Offer with a zero price.
We are in the process of migrating old subscriptions to revenuecat and will do this as we release a new version of our app. We will use the receipts API to migrate all old receipts and I think the documentation is clear it can be used for this.My concern is regarding new purchases of users on the old version of the app, when we have also released the new version. The purchases on the old version will go to our backend and in the old version they would be forwarded and acknowledged straight to google play API, but since we’re moving to revenuecat we would instead like to directly forward the purchase token to revenuecat, and not have to bother with the acknowledging.Will RC acknowledge tokens sent via this API or do RC only acknowledge tokens sent directly from google pub/sub to RC?Should I forward these new purchases at all or just wait for RC to get the message from google pub/sub? Thanks
I use this code to check the subscription status. Purchases.shared.getCustomerInfo { (customerInfo, error) in self.isSubcriptionActive = customerInfo?.entitlements.all["All Access"]?.isActive == true }When I start the app, the status of the subscription is false (it’s normal) but it goes to true by its own when a view is loaded (no subscription process launched)RenenueCat returns no error and in revenuecat no record appears in the RevenueCat sandbox.Between the subscription state not active and active, please find the debug text :DEBUG: ℹ️ API request completed: GET /v1/subscribers/MyAPP_App (304)XXXXXXX [customer] DEBUG: ℹ️ Sending latest CustomerInfo to delegate.XXXXXXX [customer] DEBUG: 😻 CustomerInfo updated from network.XXXXXXXXX [eligibility] DEBUG: ℹ️ Detected active subscriptions changed. Clearing trial or intro eligibility cache.XXXXXXXXX [network] DEBUG: ℹ️ GetCustomerInfoOperation: FinishedXXXXXXXXX] [offline_entitlements] DEBUG: ℹ️ PurchasedProducts
I have Apple/Google Notifications linked to RevCat. Every time a user’s subscription is renewed, paused, cancelled, etc, I would like to send/sync that info to the same userId in the RealTimeDatabase, eg. db schema// anyone under the users ref isn't anonymoususers -userID_123 // whenever this user’s subscription is renewed/cancelled I need this node to receive the update with the accompanying subscription data I looked at Firebase Integration Docs and it only mentions Cloud FireStore. I went to the Firebase console > Extensions > RevenueCat and it only says that it supports FireStore. I don't use FireStore for my backend, I only use RTDB. 1- How can I sync these subscription updates to the RealTimeDatabase?2- Do you have any links on how to do it with specific subscription data, for example, I only need the renewal and cancellation dates, I don't need all of the other info. I’ve googled around and can't find anything.
I just paid a weekly card, which should expire in 7 days, but the permission expiration time in customerInfo is only 3 minutes { "entitlements": { "all": { "VIP": { "identifier": "VIP", "isActive": true, "willRenew": true, "latestPurchaseDate": "2023-07-24T04:58:41Z", "originalPurchaseDate": "2023-07-05T15:30:55Z", "productIdentifier": "subscribe_id_1", "isSandbox": true, "ownershipType": "PURCHASED", "store": "APP_STORE", "periodType": "NORMAL", "expirationDate": "2023-07-24T05:01:41Z", "unsubscribeDetectedAt": null, "billingIssueDetectedAt": null } }, "active": { "VIP": { "identifier": "VIP", "isActive": true, "willRenew": true, "latestPurchaseDate": "2023-07-24T04:58:41Z",
I have app in production that using anonymous user ids only, no login system. I installed my app to iPhone and get my App User Id from there to add entitlement to myself to test. After I added it to my user id and manual restore in the app - it works, entitlement appear.Then I uninstall my app and install it again to test that RevenueCat will create user id alias for the same device (or Apple id) and that I can restore that entitlement again, but no luck, new app user id didn’t aliases to the first one - it’s just new one without any entitlements.By the way it seems to work when I use TestFlight - after reinstall it aliases and restores my entitlement.Is that bug or something? I thought that it can be the issue with real purchases.
Hi,We just got an email from Apple notifying us that we will be exiting the small business program due to passing the revenue threshold. However I am ensure what date to but in the `exit date` field on RevenueCat? Should it be the start of the next fiscal month?Cheers,Walter
I’m testing on a real device.I have a purchaseButton, I press it, the subscription is successful. I stop the app, restart it, and when I press the purchaseButton again, I get an alert with a message “You’re currently subscribed to this..." with Manage/Okay buttons. I press the Okay button, nothing happens, the alert gets dismissed. But if I press the Manage button, .purchaseCancelledError: gets hit using breakpoints and the alert gets dismissed.Now the odd thing is when I press the purchaseButton again, it goes straight to .operationAlreadyInProgressForProductError , at that point I’m able to notify the user that we found their purchase and they can continue on.So to be clear, the flow is1- I press the purchaseButton, and after a subscription is initially made, I stop the app2- After restarting the app, I press the purchaseButton, I get an alert with a message “You’re currently subscribed to this..", however .operationAlreadyInProgressForProductError never gets hit no matter if I press
After uploading a build to TestFlight and successfully testing it, I encountered an issue when attempting to purchase a subscription again. The error message received was as follows: PlatformException(9, The receipt is missing., {underlyingErrorMessage: , readable_error_code: MISSING_RECEIPT_FILE, userCancelled: false, message: The receipt is missing., code: 9, readableErrorCode: MISSING _RECEIPT_FILE}, null) Upon reviewing various answers and information, it appears that this error is likely occurring due to the sandbox environment. However, I would like to seek confirmation regarding whether the purchase will function properly once the application is submitted for release.
I have a flutter app running with RevenueCat package. A user says he can’t share the subscription of my app to his children via Family Library. Someone on reddit says in-app-purchases doesn’t support Family Library. So is RevenueCat the same?
While we are currently implementing RevenueCat for our (currently free) app, we found following articles.Due to platform limitations, purchases will be transferred as soon as you call `configure`https://www.revenuecat.com/docs/restoring-purchases#google-play-on-android the subscription will be considered inactive since the app stores weren't able to charge the customer for a renewal.https://community.revenuecat.com/general-questions-7/how-does-revenuecat-manage-ios-subscription-events-such-as-entered-grace-period-entered-new-billing-retry-renewal-from-billing-retry-and-so-on-484 when the renewal comes in, the SDK posts the receipt to our backend, but at this point, you’re an anonymous user. So the backend is transferring the receipthttps://community.revenuecat.com/sdks-51/app-ids-transferring-subscriptions-to-anonymous-users-1171 From these, we imagined following scenario. (Later I found out that similar case has happened and posted in Android app, but had no replies at all: https://c
Hi, So I’m having trouble to translate the string. "%@ Free. No payment now" = "%@ Free. No payment now";%@ - represents 1 Week, that is coming back to RC. The issue is that I wish that word ‘week’ would be included into the string.example: "%@ Week Free. No payment now" = "%@ Free. No payment now";Since translating into Japanese, Korean, Chinese, French, German - it depends on the language where the word Week is. It might not necessarily be right away after the ‘1’. What is the best way to handle this?
Hi there, I recently moved to iOS 17 simulator using Xcode 15 beta 4 & Mac Sonoma.Everything was perfectly working until today but now, I can’t launch my expo app anymore.The build seems to work without any noticeable issue. Here is the issue I get :[StoreKit] <SKPaymentQueue: 0x600000010a20>: No observers found that respond to "paymentQueue:shouldAddStorePayment:forProduct:", will not check for purchase intents I’m using "react-native-purchases": "6.3.0" version. Here is my package.json file, hopefully it helps. "dependencies": {"@babel/runtime": "^7.22.6","@expo/react-native-action-sheet": "^4.0.1","@react-native-async-storage/async-storage": "1.19.0","metro-react-native-babel-preset": "0.77.0","@react-native-firebase/analytics": "^18.1.0","@react-native-firebase/app": "^18.1.0","@react-native-firebase/crashlytics": "^18.1.0","@react-native-firebase/firestore": "^18.1.0","@react-native-firebase/perf": "^18.1.0","@react-navigation/bottom-tabs": "^6.5.8","@react-navigation/el
Hi there,We are trying to asses if would be possible to make price changes to our subscription products for our Flutter app. We’ve noticed that currently the Google Play Console warns us with the following message:Would it be safe for us to proceed to make this subscription editable to update the price? In the past we have been warned not to do so, but I’m seeing other users being told that it is safe to do so?Your help is greatly appreciated!Kind regards,Jacques
Hello everyone, I want to deliver monthly items to our Pro subscribers and I could use some guidance. My main concern is ensuring that regardless of the subscription type (monthly or annual), our users receive their items on the same date as a monthly renewal would.Currently, when a user purchases a subscription, I have a backend function that communicates with RevenueCat's REST API to check the user's Pro entitlement status and provide them with the initial items for the first month. My aim is to schedule an event for a future date to facilitate the delivery of the next monthly items.This raises the question of how to determine the appropriate date each month, especially considering the varying number of days in each month. I'm particularly curious about how Apple or Google handle these differences, as I want to align our delivery schedule with their approach. I would appreciate any help!
Most our product profits sync correctly. But some products that we have recently added show in RevenueСat dash board only 10-30% of what we see in the App Store. This problem only happens with iOS. We use RevenueCat Unity sdk, Unity purchases and Observer mod in RevenueCat. On the client, when we request the user's data from the RevenueCat server via SDK, we get the correct purchase amount. If we multiply that amount by the cost of certain products we get correct numbers. But in the RevenueCat dash board they are not correct at all. And we send data from the RevenueCat dash board to Adjust, which is very critical for us. What could be the problem? Also please tell me, is there a way to find out in the RevenueCat dashboard not the total revenue from the product, but the number of purchases of certain produts? This would help us understand the problem a little better. Perhaps purchases for some reason goes to RevenueCat with zero value?
I have some issues and questions implementing revenue cat with react native and subscriptions...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).Got rejected on the appstore, as the subscrition didnt workI dont have any offerings, that can be fetched, as they are in status “Waiting for Review” in the appstore, and as I understand a version of the app needs to be approved for release with the subscriptions? So my questions are:- how to get the offerings to be read in sandbox? is sandbox for just payment?- How to approve the offerings in a new version if payment wont work?How to test from xcode using storekit?, on react native I didnt find any info...
Hi Guys, I’m trying to implement in-app purchase with revenue cat in an existing app that is already in playstore and appstore. But I keep getting this error in Android :none of the products registered in the revenueCat dashboard could be fetched from the play store.It works fine in IOS though.I’ve already put a new app (that contains the Billing on Android manifest) on a closed task and added tester also, and the app in closed test channel is already available in playstore for the tester, followed the steps in this link : but it still doesn’t work, Can you guys help me please or do you have any suggestions ? Thanks in advance.
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.