Get help with your SDK implementation.
Recently active
This is my first question here, please be patient with me. I am not a programming expert and need some help. I have followed steps up to creating 3 subscriptions on both App and Play store. I want to give 3 types of subscriptions, all annual type. The feature the subscriptions will unlock are as follows:‘10_Annual’ - This will allow the admin to add 10 people to his team. ‘20_Annual’ - This will allow the admin to add 20 people to his team. ‘50_Annual’ - This will allow the admin to add 50 people to his team.Up to now I have created the entitlements, which have the same IDs as defined in app & play stores. I am now having short circuits in my head proceeding with entitlements and offerings. I am not able to fully understand what steps I should be taking when creating entitlements and offerings and need some advice on structure of it please. Thank you!
Using iOS SDK, and just recently, like two weeks ago. This API is randomly never calling the completion block?- (void)purchaserInfoWithCompletionBlock:(RCReceivePurchaserInfoBlock)completion This never happened before.Thanks,Ilam
Hello,I am using Java in Android Studio. When i debug my app, I can see that my id (from firebase authentication) has logged in in the past. I have set up offerings (actually just 1) in RevenueCat, but when i try to fetch the offerings with getOfferings, it returns NULL. I read in a different post that:The app needs to be be in the internal testing track on the Google Play Store in order to fetch subscriptions Is this true? Is that the reason why my app cannot “see” my offerings
EnvironmentVersion plugin : purchases_flutter: ^3.4.1Flutter doctor/Users/bob/development/flutter/bin/flutter doctor --verbose[✓] Flutter (Channel stable, 2.5.2, on macOS 11.6 20G165 darwin-x64, locale en-FR) • Flutter version 2.5.2 at /Users/bob/development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 3595343e20 (11 days ago), 2021-09-30 12:58:18 -0700 • Engine revision 6ac856380f • Dart version 2.14.3[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /Users/bob/Library/Android/sdk • Platform android-31, build-tools 30.0.3 • Java binary at: /Users/bob/Documents/Existing files/Macintosh HD - Data/Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165) • All Android licenses accepted.[✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • X
Hello,I have issue in flutter on iOS,getOfferings return nothing after setup subscription in App Store connection and setup App Store configuration in revenue cat_purchaserInfo = await Purchases.getPurchaserInfo();_products = await Purchases.getProducts(kProductIds);_offerings = await Purchases.getOfferings();it works ok for google.I did everything as it show in https://www.revenuecat.com/blog/signing-ios-subscription-offersPurchases.getPurchaserInfo return correct information Using Purchases.syncPurchases(); return exception “The receipt is missing.”
We’ve got our iOS app working in testflight with subscriptions, and we have not uploaded a “Subscription p8 key file.” (We have added the App-Specific Shared Secret.) We are able to retrieve the current offer and purchase it. So, when is the Subscription p8 key file needed? For what functionality?p.s. I’ve seen the blog at https://www.revenuecat.com/blog/signing-ios-subscription-offers, but it just says to upload it. thanks
Hi, I have noticed that when a user purchases a subscription on a device, any other users who sign in on the same device will automatically have that subscription, seems like other users accounts are being linked via alias. Is this expected behavior?
Hi mates!I working all day, and all fine with this fetching method. But right now I have a problem when call Purchases.shared.offerings - completion block NEVER called. In console log, I see that request message only, and nothing happens after that:[Purchases] - DEBUG: Requesting products from the store with identifiers: {( "standard.6months", "standard.1month", "advanced.1month", "standard.1year", "advanced.1year", "advanced.6months")}I tried remove app bundle, restart macOS, restart iOS, but without any success. This problem happen only when I running app on device. When I set Xcode StoreKit.configuration for target - this method works as expected. Please help me solve the problem.Running on iPhone Xr on iOS 15
Hello,I added a new entitlement with 3 products. When reading PurchaserInfo object in code, I can only see the old 2 ones. The last added is not in the list. I waited for like 12 hours, thinking RevenueCat needs more time to propagate the change. However this didn’t affect the end result. I’ve checked docs to make sure there is nothing more I need to do to make things work.Thanks.
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?
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.