Get help with your SDK implementation.
Recently active
I’ve submitted my app to the Apple App Store and keep getting rejected for the error “Receipt is missing”.How can I simulate the exact method Apple uses to test apps? Whenever I test using either:Xcode + a physical device + sandbox account or TestFlight + non-sandbox App IDthe subscriptions go through successfully. Hence I have a few questions: How do I replicate the error the app review team get so I can debug? In my scheme settings through Xcode before I submit my app, do I need to set the field StoreKit Configuration to “None”? Or can I leave this selected on my StoreKit config file when I submit my app? How do I use this receipt validation link? https://www.revenuecat.com/apple-receipt-validation/. There are no directions for use on the website. What do I need to enter in the first field which states “Paste your receipt”? I’ve been given this link by the App Review team. https://developer.apple.com/library/archive/technotes/tn2413/_index.html#//apple_ref/doc/uid/DTS40016
I have seen that there is a DocC generated website for documentation. Is it possible to get the generated content also in the Documentation window of xcode(like when docs are generated inside the project, for the project)? Thanks!
Trying to purchase package in the Sandbox (with no products in Appstore, only in StoreKit), everything seems to be set up fine. It results in success message “Your purchase was successful”But after tapping okay an error happens which says “The receipt is not valid”2022-10-11 17:42:27.282308+0300 lumio[79672:5449989] [Purchases] - DEBUG: ℹ️ Vending Offerings from cache2022-10-11 17:42:27.282698+0300 lumio[79672:5449989] [Purchases] - INFO: 💰 Purchasing Product 'monthly_sub' from package in Offering 'default'2022-10-11 17:42:27.286050+0300 lumio[79672:5449989] [Purchases] - DEBUG: ℹ️ PaymentQueue updatedTransaction: monthly_sub 02022-10-11 17:42:27.286381+0300 lumio[79672:5449989] [Purchases] - WARN: 🍎‼️ There is a problem with the SKPaymentTransaction missing a transaction date - this is an issue with the App Store. Unix Epoch will be used instead.2022-10-11 17:42:27.286621+0300 lumio[79672:5449989] [Purchases] - WARN: 🍎‼️ There is a problem with the SKPaymentTransaction missing a tr
Hi I’m having issues upgrading to react-native-purchases version v5.1.0. When I build from command line, I get the following error: 2022-10-11 16:17:22.601 xcodebuild[26352:116860] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore Is this expected? Does this version require xcode 14?
From what I can tell, (here and here), `purchaseProduct` should execute a callback upon completion, but I can’t seem to get it to fire. The transaction goes through and the purchase is made with no issues/errors, but the callback i would expect - those console logs (in the example below) - never go through.I saw this post from a month ago where it was mentioned that there’s an issue with the purchaseProduct method, are these related?Thanks Purchases.purchaseProduct(plan.identifier, ({ productIdentifier, customerInfo }) => { console.log("productIdentifier:", productIdentifier); // does not call console.log("customerInfo:", customerInfo); // does not call }, ({ error, userCancelled }) => { console.log("error:", error); // does not call console.log("userCancelled:", userCancelled) // does not call }, null);
Hi there,I am working on testing my implementing of RC into my app but I am having issues with migration.The previous version of my app had a one time in-app purchase, while the new version of my app is going to have subscriptions.The problem occurs when migrating from the old version of app without RC to the new version of the app with RC: If I do a clean install of the new version of my app, everything works. but If I stall the new version over my old as my users would. It throws an error. My suspicion of the issue is that RC has no user id to check, but I expect it to create an anonymous id until the user signs in a later point, but I don’t know for sure because the error is not specific enough. Any advice or suggestion?
Flutter SDK: I’ve configured subscriptions and in-app products on the play console, I also setup the offerings on revenuecat but when I try to fetch the offerings for subscriptions I get an error below:😿‼️ Error fetching offerings - PurchasesError(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.E/[Purchases] - ERROR( 6352): More information: https://rev.cat/why-are-offerings-empty, message='There is an issue with your configuration. Check the underlying error for more details.')But it’s successful only on in-app products rather than subscriptions.
Is there some reason why app provided user IDs don’t alias to one another like anonymous IDs do? (I seein the chart on this page: https://www.revenuecat.com/docs/user-ids only anonymous ids will alias, not app provided ids) I want to transfer our existing billing data to RevenueCat, we give each user a user ID e.g. user1234 however this is stored locally, so if the user delete/reinstall the app they will get a new user ID e.g. user5678. In order to migrate all our data and port over our iOS code I need to:Add a hook in our backend code so all new purchases are sent to RevenueCatOnce that is in production then I can:Run a script that loops through all of the records in our DB and inserts them into RC When running step2 if the same user has multiple userIDs associated with them due to delete/re-install this will be fine because I will iterate from oldest to newest, so the newest userid will get all the purchases transferred to them by RC. However … running step2 that calls the /receipt e
So I have a version 1.0089 of our app. It worked perfectly in TestFlight, I send the app to review at Apple and it was accepted. The app of version 1.0089 can now be downloaded in the App Store, but the purchasing of a subscription is not working. Nothing really happens. No In-app UI is showing, even though it did so in TestFlight?What can I possibly be missing here?
Does revenueCat SDk qualify for any exemptions provided in category 5 part 2 of the US export administation regulations? I’m getting asked this in App Store Connect, it also says:You can select Yes for this question if the encryption of your app is:(a) Specially designed for medical end-use(b) Limited to intellectual property and copyright protection(c) Limited to authentication, digital signature, or the decryption of data or files(d) Specially designed and limited for banking use or “money transactions”; or(e) Limited to “fixed” data compression or coding techniques Thank You,Jamie
I was using the code from RevenueCat sample react native project to do a trial of RevenueCat integration. In the package.json there is "react-native-purchases": "^5.0.0".https://github.com/RevenueCat/react-native-purchases/tree/main/examples/MagicWeatherFollowing is the code of App.js and there is Purchases.setDebugLogsEnabled(true).const App: () => React$Node = () => { useEffect(() => { Purchases.setDebugLogsEnabled(true); Purchases.configure({ apiKey: API_KEY, appUserID: null, observerMode: false, useAmazon: false }); }, []); return ( <> <StatusBar barStyle="light-content" /> <Router /> </> ); However, there is no log was generated as the section of Sample Output of RevenueCat doc:https://www.revenuecat.com/docs/debugginge.g.[Purchases] - DEBUG: Debug logging enabled. [Purchases] - DEBUG: SDK Version - 2.0.0 [Purchases] - DEBUG: Initial App User ID - <APP_USER_ID> [Purchases] - DEBUG: Changing App User ID: (null) ->
I am trying to use RevenueCat for my flutter application. Now app is work fine in the IOS but in the android it gives ConfigurationError. Below is the debug log. I/olutions.**roo(16974): ProcessProfilingInfo new_methods=0 is saved saved_to_disk=0 resolve_classes_delay=8000D/[Purchases] - DEBUG(16974): Retrieving customer info with policy: CACHED_OR_FETCHEDD/[Purchases] - DEBUG(16974): ℹ️ Vending CustomerInfo from cache.D/[Purchases] - DEBUG(16974): ℹ️ Checking if cache is stale AppInBackground falseD/[Purchases] - DEBUG(16974): ℹ️ No cached Offerings, fetching from networkD/DecorView[](16974): getWindowModeFromSystem windowmode is 1D/[Purchases] - DEBUG(16974): ℹ️ API request started: GET /subscribers/%24RCAnonymousID%3A4201b37be878400ca103bf6c0d9308c9/offeringsD/[Purchases] - DEBUG(16974): ℹ️ API request completed with status: GET /subscribers/%24RCAnonymousID%3A4201b37be878400ca103bf6c0d9308c9/offerings 304D/[Purchases] - DEBUG(16974): ℹ️ Requesting products from the store with ident
I’m testing the subscriptions in sandbox, I’m not sure I’m supposed to add the duration of the introductory offer to the expirationDate returned from Revenuecat API.I do see the free trial period showing up in the confirmation modal view. so whatever is coming from Apple seems to be working. it’s just that the expirationDate is ignoring the introductory period. Shouldn’t it be updated in the API?
Hi, I am using a Auto-renewable subscriptions in my app(Android/Flutter). Now I using “test card”/test mode. This is my user case:1. My test user have google acc test@test.com(example).2. I create a subscription for the first time. I got originalAppUserId - value1.3. time passes 20-30 (minutes) - the test subscription becomes inactive. also i can uninstall the app.4. I create a new subscription (second time). I got originalAppUserId - value2.5. the value1 of originalAppUserId the first and second times are not equal.this is right? I expected that these values will be equal(Unique and equal value for current google acc).Can I get unique value from store account(email/id) using sdk? or is it imposiible? then I need to create the user id myself? For example, add authorization to the application using a Google account? will this work?any options - I will be very grateful for the help.
Hi, Let's say a user A bought subscription on a device A and a user B bought subscription on a device B and then the user A logged into the app on the device B. Is there a way to distinguish from which Google account subscription was bought? 🤔 I mean, I want to give users a possibility to redirect to Google Play to e.g. cancel a subscription but I don't want to let user A cancel subscription of the user B and I want to inform user that "This subscription was bought from another Google Play account".
Puchase was succssful via react-native-purchases in Adroid, but there is no response in promise “await Purchases.purchasePackage(purchasePackage)”Please kindly guide how to solve this problem. Thx!Screenshot:Code:import Purchases from 'react-native-purchases';const PackageItem = ({ purchasePackage, setIsPurchasing }) => { const { product: { title, description, priceString }, } = purchasePackage; const navigation = useNavigation(); const onSelection = async () => { setIsPurchasing(true); try { console.log( '************* Before await Purchases.purchasePackage(purchasePackage) purchasePackage is :', purchasePackage, ); const { purchaserInfo } = await Purchases.purchasePackage(purchasePackage); console.log( '************* After await Purchases.purchasePackage(purchasePackage), purchaserInfo is :', purchaserInfo, ); if (typeof purchaserInfo.customerInfo.entitlements.active.my_entitlement_identifier !== 'undefined'
Hi, this is our first in app purchase (annual subscription) and the first time using RevenueCat, Overall everything seems to be working except for the following code which is never call Please help. Thank you. - (void)purchases:(nonnull RCPurchases *)purchases receivedUpdatedCustomerInfo:(nonnull RCCustomerInfo *)purchaserInfo {// handle any changes to purchaserInfo NSLog(@"\n\n\n Purchase Updated INFO: %@", purchaserInfo); [self CheckForSubscription];}
Hello. I always get same error. My real device: iPhone 11 Pro, official iOS 16.0. I setup sandbox account and confirmed it. Beta version of Xcode (version 14.0). I did everything that your partner Chris showed in the video (https://www.youtube.com/watch?v=11A0hUjbCb4).
Hi, I’m looking into migrating from my in-app purchase code to Rev Cat. I currently only have consumable and non-consumable products. I’m looking to add a subscription and figured I’d give this a try. I’m a bit confused on how to migrate my existing non-consumable items to rev cat.. or do I just use rev cat for the subscription only?I’ve added a few of my non-consumable items to rev cat and they are showing up via the api in my app.. but rev cat doesn’t know they have been purchased. I did try:[RCPurchases.sharedPurchases syncPurchasesWithCompletion:^(RCCustomerInfo *customerInfo , NSError *error) { NSLog(@"Synced! %@ %@",customerInfo, error);}]; And I get an error “The receipt is missing” So my guess is this is only looking for subscriptions? So I’m wondering if I know that someone has purchased a non-consumable via my existing in-app code, can I send a command to rev cat to register that they have purchased it? Should I need to do that or would rev cat be able to commun
I am using revenuecat in my product.Currently, I already setup the “Offerings” as “Lifetime”.My expectation is that if I call method: Purchases.purchasePackage(package) multiple times, then there is only one time purchase.But, each time I call above method, I still can buy a new IAP.What should I do to prevent that ?Currently, I have to try to “restore purchase” and check, if restore failed => buy new purchase.
I am trying to implement the IAP in the Amazon Appstore. I am doing the setup just like the docs says: await purchases.Purchases.setDebugLogsEnabled(kDebugMode); purchases.PurchasesConfiguration? configuration; if (Platform.isAndroid) { configuration = purchases.PurchasesConfiguration('goog_key'); if (storeHelper.store == Store.amazonAppStore) { configuration = purchases.AmazonConfiguration('amzn_key'); } } else if (Platform.isIOS) { configuration = purchases.PurchasesConfiguration('appl_key'); } if (configuration != null) { await purchases.Purchases.configure(configuration); await premiumService.load(); } When I call Purchases.getOfferings() the call hangs. The native side does not respond to the Dart call. I am reproducing this issue launching in debug and when download from the Live Testing service. I am using purchases_flutter 4.2.1 I am executing adb shell setprop debug.amazon.sandboxmode debug Tested in a Samsung device w
Google now uses the new Subscriptions API, I would like to know if this version is already supported or if it is still using the InAppProduct API
Hello, at Lake Coloring we are in process of migration to RevenueCat. At the moment we are just forwarding receipts from our backend to RevenueCat API. We are migrating to RevenueCat SDK in our iOS app but have a problem with mainland China, more specifically api.revenuecat.com seems to be blocked in mainland China. Since our backend is reachable by vast majority of provinces and operators in China(but not all of them, so we do understand the difficulties with the region) we would like to have at least similar reachability for RevenueCat.All suggestions how to work around this issue would be greatly appreciated.Thanks
I got rejected by the App Store due to a strange error (any help with that is also appreciated) but I can’t figure out where these alerts are coming from on purchases. I don’t see any alerts in my code but I also don’t see any in the react native library. Anyone see this behaviour before?
Crashes on iPhone5 (iOS 12.5.4).It runs fine on iPhone13 Pro MAX, iPhoneXS MAX, iPhoneSE, etc.Is 32-bit CPU unsupported?Start from Xcode.[RCPurchases configureWithAPIKey:@"public_sdk_key"];It crashes on the above line.#1 abort_with_payload_wrapper_internal#2 abort_with_payload#3 dyld::halt(char const*)#4 fastBindLazySymbol(ImageLoader**, unsigned long)#5 dyld_stub_binder#6 type metadata accessor for @MainActor @Sendable ()
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.