Get help with your SDK implementation.
Recently active
Is there a way to give user’s 3 days free of pro without subscribing to the actual subscription?I’d like to upgrade them to pro for a few days so that they can try it and then downgrade them after the trial and prompt them that they can get another week for free once they subscribe.Duolingo has this model when you reach a certain amount of days, they give you 3 days free of pro without subscribing.Is there a way for me to do this?
Using react-native-purchases package at version 8.0.1 on an Expo project at version 51.0.22Trying to run Purchases.configure throws the error.useEffect(() => { if (Platform.OS === "ios") { Purchases.configure({ apiKey: "<OBSCURED>" }) } }, [])
Hello Support Team,I am experiencing an issue with updating the prices in our React Native app, which is built using Expo SDK 51 with react-native-purchases@7.27.1. Specifically, after I change the prices in the Play Store or App Store, the new prices are not reflected in the app's PayWall component. The app continues to display the old prices unless the app is restarted.I have tried calling syncPurchases() before making a request to getOfferings(), but this does not seem to resolve the issue. The PayWall component still receives the old data.Could you please assist in identifying a solution to ensure that the app fetches the updated prices without requiring a restart?Thank you for your assistance.
We have an app that’s build in Flutter, and it works with both Play Store as well as Apple Store. On both platforms we have set up products (no offerings, or entitlements), as the approach is that the users can buy a product (subscription) and change it at any time.The Apple Store subscriptions works well (in sandbox mode) and I am able to buy the lowest subscription, then upgrade to higher, and finally downgrade again, without waiting for a subscription to expire.On Play Store, however, this doesn’t work. I start with the lowest subscription, and then I can upgrade, but if I tried to do another upgrade/downgrade, I get Play Store popup with the following message:Error retrieving information from the server. DF-DFERH-01 Then I get an error from RevenueCat SDK:PlatformException(2, There was a problem with the Play Store., {code: 2, message: There was a problem with the Play Store., readableErrorCode: StoreProblemError, readable_error_code: StoreProblemError, underlyingErrorMessage: Erro
Hello I have the exact same problem as this post, But there is no response I could use.
HI, suddennly it is not possible to fetch anymore google offers from revenue cat from my react-native app ( expo ) . It is working correctly for IOS. I updated, - "react-native-purchases": "^7.15.0",+ "react-native-purchases": "^7.28.1",Error is Error: There was a problem with the store. Can you please retur more meaningfull erros? It is impossible to debug what it is wrong with this api. Thanks.
My problem is with iOSMy subscription is registered under the AppStoreConnect and says “Ready for Review”All my Agreements are signed and up to date.My Bundle ID is correctI was able to successfully import my products to RC.My Products,Offerings, Entitlements are created.My app is registered on RC. (appdd508ae716)I am using TestFlight.I am using Expo I can’t think of anything else, I don’t understand why I am still getting this error. I have not tested on Android yet.
ERROR Error loading offerings: [Error: There is an issue with your configuration. Check the underlying error for more details. 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). React Native + Expo - Testing Revenue Cat on iOS Having trouble getting offerings on my device, however I can get them on my emulator, but they are in Sandbox mode and show the default of the image below. None of my products on App Store connect are priced at this value.Please help - thanks
Hello! Our app is being rejected because since we added RevenueCat we are violating the data practices of the Google Families Policy on our Kids App.The rejection explation below:Your app violates the Families Policy Requirements policy. We’ve identified that your app or an SDK in your app transmits identifier(s) that do not comply with our Families Policy. These identifiers may include, but are not limited to Android Advertising ID (AAID).For example, the destinations of Android Advertising ID transmission may include, but are not limited to: facebook.com.Apps that solely target children, must not transmit the following:Android Advertising ID (AAID) SIM Serial Build Serial BSSID MAC SSID IMEI and/or IMSIApps that target both children and older audiences must not transmit the listed identifiers from children or users of unknown age. Action required: Submit an update to your appRead through the "Data Practices" section (#5) of the Families Policy Requirements, and the User Data policy.
Hello,I’m using the latest Revenue Cat SDK (8.4.0) and i’m trying to do the following use case in Sandbox :Subscribe to a monthly subscription Immediately refund it from Revenue Cat dashboard Open the app and see that the premium content is no longer available for the userI’m callingPurchases.sharedInstance.getCustomerInfoWith(fetchPolicy = CacheFetchPolicy.NOT_STALE_CACHED_OR_CURRENT) { customerInfo -> checkStatus(customerInfo) }And always get this Logs : Retrieving customer info with policy: NOT_STALE_CACHED_OR_CURRENTℹ️ Checking if cache is stale AppInBackground trueℹ️ Vending CustomerInfo from cache. Something weird here, is that AppInBackground is always returning TRUE. This means that the cache will not be stale before the 25 hours delay and never within the 5 minutes delays for foreground application. Then the cache is never updatedI’m initializing my Purchases only once in the onCreate of my Application classif (BuildConfig.DEBUG) { Purchases.logLevel =
How to display paywall in flutter app?
Hi, I’m new to RC and this forum. I’ve searched but couldn’t find anything definitive on this topic but if there is, please let me know…Is there a way in StoreKit 2 (and in extension, in the RevenueCat SDK) to get an unique identifier for the current iCloud ID or user? I'm a bit worried about this part in the SDK docs:If you don't provide an App User ID when instantiating the Purchases SDK, RevenueCat will generate a new random App User ID for you and cache it on the device. In the event that the user deletes and reinstalls the app, a new random App User ID will be generated.I guess my question is: do I have to force the current user to sign in with their Apple ID if I want to prevent the quoted behavior?Edit: Or did I overthink everything again — maybe I should ignore the iCloud ID for my iOS/macOS-only app, and just rely on the RC-provided anonymous App User ID and the restoring purchases mechanism…?
Hello,I have a Flutter application using GetX for state management and a Laravel backend. My app includes a subscription feature, but it was rejected by iOS because I need to integrate in-app purchases. Can anyone help me integrate in-app purchases specifically for iOS? I successfully connected the application from the iOS side with Revenuecat, but I'm stuck and unsure how to proceed to complete the integration.
Hi, Looking at the documentation for custom attributes, I cannot find any information about syncing attributes and offerings using the React Native SDK. Does this mean that it is not required to sync attributes and offerings after setting an attribute or that it is not possible to sync attributes and offerings manually? We are trying to create a targeting rule based on custom attributes set during the onboarding. Curious to learn what the best practice is here. Thanks in advanceAlexander
I can’t pass the App Store Reviews because of this error. I can't produce this case. But review team is keep sending me this. And I can’t pass the reviews for 3 days. On my side, everything works very well.
I’m using Ionic with Capacitor.The RevenueCat documentation recommends using a cordova plugin, but Ionic has been in the process of migrating away from Capacitor for the past few years, and this is now the only Cordova plugin in my app.There’s already a capacitor plugin on github but I was wondering if there are any plans to release an official Capacitor plugin as well.
I use BugSnag to capture my errors and report them in a way that can be quanitfied. This last week my top 2 errors all came from `Purchases` errors:Seen in the last 7 days:Errors Events getOfferings Error in Paywall • src/features/Paywall/index.tsx:165 There is an issue with your configuration. Check the underlying error for more details. 140 Purchase Error in Paywall • src/features/Paywall/index.tsx:197 No Package available to purchase. 34 Now, the typical response from RevenueCat is:Do you have logging enabled? YES ``` Purchases.setLogLevel(Purchases.LOG_LEVEL.DEBUG); await Purchases.configure({ apiKey: APIKEY }); ``` Can I replicate? NO So I ask RevenueCat this: is there a way to uncover the underlying issue? 140 errors in 1 week related to configuration is concerning. 34 errors of “no package available to purchase” is concerning. How else can I report errors to you so we can figure this out?
Hi!Main Flow:My backend listens to Revenue Cat webhook events. I listen to renewal to mark old subscription as in active and create a new active subscription with full in-app balance.Currently if user clicks on product he already purchased, Revenue cat react native client throws error with code Purchases.PURCHASES_ERROR_CODE.PRODUCT_ALREADY_PURCHASED_ERROR which is correct. But then I get webhook event on purchase. Question:Why this happens if Apple doesn’t let to re-subscribe to plan which hasn’t expired yet. From my understanding after client PRODUCT_ALREADY_PURCHASED_ERROR was thrown no webhook event should come to backend.
I am trying to use RevenueCat for selling consumable products on my ReactNative mobile app. To start with, I configured a product in my revenuecat account, connected it with a in app product on Google Play. In revenuecat, I can see the two are connected properly. I do not have any offerings or entitlements, because these consumable products are open for all users.However, in my code, when I queryPurchases.getProducts(["productId"]) get an empty array. Struggling for two days, not able to guess what could be the issue? Can you please help?
Hello there. We developed an app that's for both platforms, iOS and Android, the app allows users to purchase a subscription. The iOS version is working fine, but I'm trying to implement same functionality on Android, using either purchaseStoreProduct or purchaseSubscriptionOption. The first one gives me message that the item to purchase is not found and the second got stuck forever and gives no error.Can you help me please? I'm using the 7.2.8 version of the lib.
As discussed in the post linked below which seems to have comments closed, the migration guide points to the Firebase docs for tracking StoreKit 2 transactions in Firebase.However, it’s not clear from the sample code provided by Google/Firebase how this would integrate with RevenueCat exactly.Does it matter if `await transaction.finish()` is called after `Analytics.logTransaction(transaction)`?Guidance appreciated. Thank you.func purchaseSomeProduct(_ product: Product) { // Purchase a Product. This is mostly standard boilerplate StoreKit 2 // code, except for the Analytics.logTransaction() call. let result = try await product.purchase() switch result { case .success(let verification): let transaction = try checkVerified(verification) // Call this Firebase API to log the in-app purchase event. // NOTE: How do we hook in to this specific point via RevenueCat? Analytics.logTransaction(transaction) await transaction.finish() ...}
Hi,When can I expect a RevenueCat Unity SDK update to include latest RevenueCat Android SDK changes?.Thanks
When a user logs in, it pulls their app user ID then performs the login() function on that ID.I have a real active subscription with my live app on the app store with my App User ID.When I run my app in TestFlight and login with the same App User Id, my entitlement is granted and it loads my CustomerInfo from my Live account. I thought this was an isolated environment?
“This method will send all the purchases to the RevenueCat backend. Call this when using your own implementation for subscriptions anytime a sync is needed, like after a successful purchase.”Source: https://sdk.revenuecat.com/android/5.0.0/purchases/com.revenuecat.purchases/-purchases/sync-purchases.htmlIf I understand correctly syncPurchases:1. upload the local device’s receipt to RevenueCat2. Transaction might under another app user id, so if needed transfer going to happen.3. The user access all entitlement based on the device’s receiptIs it correct? If yes, I don’t understand why need to call “like after a successful purchase.”.I assume purchaseProduct make a full sync with RevenueCat backend after the purchase, because the app should send the current receipt to the RC server, so why needed syncPurchases?
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.