Get help with your SDK implementation.
Recently active
Hi, We followed the documentation and created a Promotional Offer with an offer code in App store connect. This offer just extends the trial of our subscription. https://docs.revenuecat.com/docs/ios-subscription-offers Do the Promotional Code also show up under Discounts in Products? Its not clear how we can allow users to redeem this code? We tried the Purchases.shared.presentCodeRedemptionSheet() But that seems more related to OFFER CODES as opposed to Promotional Codes? Any pointers appreciated!
Hey guys,We are trying to get the original_transaction_id and transaciton_id after the purchase. However, we are not receiving those information. We want those information to save in our logs once the purchase is done. Also, we want to use those information for our report. Here is what we receive after the purchase. Where there is no transaction_id or original_transaction_id. Can you please suggest how we can get those values after purchase?{ "productIdentifier": "1q_4.99_1m", "purchaserInfo": { "activeSubscriptions": [ "1q_6.99_1m" ], "allExpirationDates": { "1q_2.99_1m": "2021-10-08T13:55:03Z", "1q_49.99_1y": "2021-10-08T13:29:45Z", "1q_6.99_1m": "2021-10-09T10:44:02Z", "1q_69.99_1y": "2021-10-08T13:40:03Z" }, "allExpirationDatesMillis": { "1q_2.99_1m": 1633701303000, "1q_49.99_1y": 1633699785000, "1q_6.99_1m": 1633776242000, "1q_69.99_1y": 16337
I tried out all the possible solutions but still stuck in this error. And because of it i can’t to productions. I need help.
I am beginner using RevenueCat. I am a developer of iOS and Android Apps. I found this great video to help me learn about integrating RC with iOS: Does anyone know of a similar one for Android - preferably Java but Kotlin would be ok too.
When I use the purchase restore method on ios 15, an error is returned and I cannot recover.It can be used on ios14 without any problem.Do you need any special treatment?I'm using cordova.I always use it.thank you very much.
Hello!I’m trying to add support for “App Store Promotions” so that one of my in-app purchases can be shown in App Store search results. Apple asks us to make sure our app “supports the SKPaymentTransactionObserver method to process this transaction.”I would like to confirm that by setting up RevenueCat on initialization of the app, that I support this.Can someone please confirm either that I am good to go to turn on this promotional IAP, or guide me in the additional code I need to add to my app to support this? Thank you!
I’m using the RevenueCat SDK version 4.3.1 for React Native. It’s working well with iOS version 14 and below in Sandbox mode, but if I install the app from TestFlight into a device that runs iOS version 15 then the restoreTransactions will be failed (Note that the restoreTransactions still works well if I install the app from XCode or the ipa file). I tried to create a new sandbox account and reset the device, but it doesn’t help. {"framesToPop":1,"code":"9","domain":"RCPurchasesErrorDomain","userInfo":{"readable_error_code":"MISSING_RECEIPT_FILE","NSLocalizedDescription":"The receipt is missing.","readableErrorCode":"MISSING_RECEIPT_FILE"},"nativeStackIOS":["0 Rosy 0x0000000100921cac _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 396532","1 Rosy 0x00000001008f7030 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvo
Hi all, We have been rejected in AppStore this week due to not showing 14 day free trial in the payment sheet. Nothing has been done with our In-App purchases for quite few months so it is a bit of an odd one.Our In-App purchases (both monthly and annual) have introductory offers setup correctly with 2 weeks free. So not sure exactly what we can do to show that on the payment sheet. Has anyone else had this issue before? I have also raised this with Apple support and replied to the app store reviewer - however, they weren't helpful (pointing me to validating the receipt server side...) Thanks,Luke
Sharif wrote 2 months ago… “Logs for the Flutter SDK will appear in Xcode and Android Studio rather than in the standard Flutter logs.” Is this still true how do I view these logs when I am using Visual Code with Flutter?
Hello there! I’ve stumbled upon a quite odd behavior while managing permissions of a subscriber. I give promotional entitlements based on some special users and I handle it by checking whether the subscription is expired or not.In the case I’ve observed, after receiving a webhook containing information of a BILLING_ISSUE event, my routine waited for it to expire to check if the subscription was still active, and it wasn’t, so I revoked the promotional entitlement.However, the user latter came to complain, and when I checked their profile on RevenueCat’s dashboard, their subscription was active, but without any events on new subscription or renewals. I immediately returned their promotional entitlement, but I was lost with no information to why they were still active.I’ve used the expiration_at_ms to wait after it to check through the API if the subscription was active. Here is the webhook I received:{ "api_version": "1.0", "event": { "aliases": [ "..." ], "app_id": "...
Hi,I would like integrate AppClip to my new application but it seems that the StoreKit framework are not supported although officially it’s not. I’m getting an error while I try to fetch offerings only on AppClip.So in my specific case, I just would know if the user logged has a subscription and if yes which is (for my purpose, I want to know if I can unlock content only if the creator of this content is subscribed). Well it works great on the app but not in AppClip unfortunately.I would know if there is a way to do this and if not if it is possible for you, specifically with StoreKit 2 server to get the subscribes plans for a determined user without fetching SKProducts with the native framework like you do currently. Thank you
Why is the Purchases.shared.paymentDiscount function taking so long to complete? The completion is called about 30 sec after the function is called.
Hello,Currently, we are working on app service with react-native.An error like the log below occurs when loading the in-app purchase list on some ios devices.What should I do? 15:37:49.368647+0900 hihi [Purchases] - DEBUG: ℹ️ API request completed with status: GET /v1/subscribers/fOpYI3nO3vdfzyonIMQrqOa0QGOmL1L2s23UFo/w5cas8aXtJrhM69P3PtVdlorYqeLeRm5cW5Tcu/BdbqrhXw==/offerings 30415:37:49.370990+0900 hihi [Purchases] - ERROR: 😿‼️ Unknown error.15:37:49.371349+0900 hihi [Purchases] - ERROR: 🍎‼️ Error fetching offerings - Error Domain=RCPurchasesErrorDomain Code=0 "Unknown error." UserInfo={readable_error_code=UNKNOWN, NSLocalizedDescription=Unknown error., NSUnderlyingError=0x2829f7180 {Error Domain=RCBackendErrorDomain Code=7117 "Page not found." UserInfo={NSLocalizedDescription=Page not found.}}}
To replicate:Using latest Flutter plugin 3.4.1 and the ‘purchase_tester’ example projectAdd an ElevatedButton that calls canMakePayments() eg replace the ‘UpsellScreen’ build method with this@overrideWidget build(BuildContext context) { return ElevatedButton( onPressed: () async { bool _storeAvailable = false; try { print("Checking availability"); _storeAvailable = await Purchases.canMakePayments(); print("Store available? $_storeAvailable"); //This line never prints } on PlatformException catch (e) { var errorCode = PurchasesErrorHelper.getErrorCode(e); print("Error was $errorCode"); } }, child: Text("Check Store Available"), );}On Android the call never returns (on iOS it works as expected)Expected result:bool returned within a reasonable time (or an exception)Testing info:This function was working correctly on vs 3.3.0 of the plugin.Tested on Android Pixel 4aFlutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x
We have the grace period enabled for subscriptions. With iOS users, if they have a billing issue they enter the grace period but then their subscription gets canceled at the same time. However, for android, the grace period is working just fine. They enter the grace period without canceling their subscription until the period has ended. Is there something we need to do differently on iOS?
Hi, I am getting following error when I try to load the application; E/[Purchases] - ERROR(26785): 😿‼️ Error performing request.E/Purchases(26785): Error fetching subscriber data: Error performing request. Please help.
We noticed some unusual behavior. This seems to happen when there is no clear error and we are unsure if this was intended or not. Consider the following code: [[RCPurchases sharedPurchases] offeringsWithCompletionBlock:^(RCOfferings* offerings, NSError* error){ if (offerings.current) { ... } else if (error) { ... } else { // this branch actually gets executed! ... }}];Both offerings.current and error are nil in some cases. Usually it has something to do with running on iOS simulator or when the IAPs aren’t setup properly (which can be seen in the logs), but the implication in the call is that error will never be nil. Luckily we were able to identify this issue quickly and patch our code with a workaround, but maybe the SDK team might want to revise that behavior. We haven’t tested if other calls have the same issue or if other platform SDKs have it.
Anyone had this crash? Fatal Exception: java.lang.IllegalStateException: Reply already submitted at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:164) at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:238) at com.revenuecat.purchases_flutter.PurchasesFlutterPlugin$5.onReceived(PurchasesFlutterPlugin.java:584) at com.revenuecat.purchases.hybridcommon.CommonKt$restoreTransactions$2.invoke(common.kt:187) at com.revenuecat.purchases.hybridcommon.CommonKt$restoreTransactions$2.invoke(common.kt) at com.revenuecat.purchases.ListenerConversionsKt$receivePurchaserInfoListener$1.onReceived(listenerConversions.kt:127) at com.revenuecat.purchases.Purchases$retrievePurchaseInfo$1.invoke(Purchases.kt:846) at com.revenuecat.purchases.Purchases$retrievePurchaseInfo$1.invoke(Purchases.kt:98) at com.revenuecat.purchases.PurchasesKt$sam$java_lang_Runnable$0.run(Purchases.kt
I am using purchases_flutter: ^3.4.5 and I am getting this error: “We've detected this app uses an unsupported version of Play billing. Please upgrade to Billing Library version 3 or newer to publish this app. Learn More about Billing Library 3.” What version of this package should I use so I can upload a Google package?
This error has been occurring frequently for the last few weeks:There was a problem with the App Store I know that this error can occur and what it means, but between January and June 2021 this error occurred 0 times. Since July 2021, about 2-3 times per day. We never do test purchases at this frequency, nor can I believe that Apple is so unstable. Is there a general increase in these error messages or what could explain such a high frequency?
Hello! We’re about to release an app using RevenueCat (via the React Native SDK) on iOS. Our app has options for monthly and annual renewing subscriptions, plus a lifetime purchase option. The lifetime option is implemented as a non-consumable purchase in the App Store.The issue we’re having is that once a user has purchased a lifetime subscription in the sandbox, there seems to be no way to ignore that purchase in the future without also ignoring other purchases with the same entitlement. I can manually grant an entitlement for a user, but when I call getPurchaserInfo() in my app, entitlements.active.xyz will contain the sandbox purchase, not the one I granted - the sandbox purchase seems to be taking priority. So either I have to treat sandbox lifetime purchases as valid, or add client code to ignore lifetime purchases made in the sandbox. But if I ignore sandbox purchases, this would seem to have the affect of also ignoring non-sandbox purchases for the same entitlement.This is a co
Sorry, title should be Xcode 13, cannot edit this anymore Hi, I am using purchases-ios via Swift Package Manager with the latest version 3.12.4. After downloading Xcode 13 my app builds and runs both on device and simulator.When I try to archive the app in order to upload it to the App Store, I receive the following message:Command CompileSwiftSources failed with a nonzero exit code.The line before saysremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationThere is no other message before or after which gives an indication of what the error could be.The minimum target is iOS 13.I tried to clean the build folder, restart Xcode, restart the Mac, downloaded the project manually from the repository and set it up newly, nothing worked.I am clueless, what can be the problem here?
Hey guys!First of all, I am a new customer of RevenueCat and I like it a lot! I upgraded my iPhone to iOS15 and since then I have slight problems with stuff which worked before.When I buy the pro subscription plan in my paywall screen I can’t see the results in the rest of the app using getPurchaserInfo() unless I restart the app. It seems that RC is receiving the info from the cache and for whatever reason it is not cleared with the purchase. Here are the logs:[Purchases] - DEBUG: ℹ️ Products request finished.[Purchases] - DEBUG: 💰 Retrieved SKProducts:[Purchases] - DEBUG: 💰 inv_v03_basis_199_1mo_7d - <SKProduct: 0x282bf4a20>[Purchases] - DEBUG: ℹ️ 1 completion handlers waiting on products[Purchases] - DEBUG: ℹ️ Found 0 unsynced attributes for App User ID: baHJxaHGJdPe9GDjQmkgsxo4cbf2[Purchases] - DEBUG: ℹ️ There are no requests currently running, starting request POST /receipts[Purchases] - DEBUG: ℹ️ API request started: POST /v1/receipts[Purchases] - DEBUG: ℹ️ API request co
I have 3 packages in one offering. When I fetch offering it returns only 2 packages, 1 is missingI have following 3 packages for example.Pizza PackLow PackAll PackIt gives me only Pizza and Low pack, not All Pack. What could be the issue?
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.