Get help with your SDK implementation.
Recently active
I am trying to migration to RevenueCat. I must use Client Side Migration due to not having app_user_id. The problem I have is that the documentation does not show how to use syncPurchases with React Native. The current example show the process in swift Swift example:Purchases.shared.syncPurchases { (customerInfo, error) in }How do we call the Client Side Migration “syncPurchases” in React Native?
I tested my app for payment on Test Flight and it works fine I submitted my app and I get the following error message. I am not sure on how to reproduce this issue. Any pointers much appreciated.Hello,Thank you for providing this information.Upon further review, we found that your app does not comply with the following guidelines:Guideline 2.1 - Performance - App CompletenessWe found that your in-app purchase products exhibited one or more bugs when reviewed on iPhone running iOS 15.3.1 on Wi-Fi.Specifically, when we tried to top up credit, we were receiving a message saying “Purchase cancelled”.Next StepsWhen validating receipts on your server, your server needs to be able to handle a production-signed app getting its receipts from Apple’s test environment. The recommended approach is for your production server to always validate receipts against the production App Store first. If validation fails with the error code "Sandbox receipt used in production," you should validate against th
Hi there.Can two different users subscribe from the same device?
Hi, I have a problem with restore transition on my MacOS simulator. A fave steeps to reproduce this issue:Buy a subscription on my iOS app in simulator Open my app’s MacOS version with the same iCloud account (debug mode) Try to restore transaction in my MacOS app and receive an error (Unexpected backend error when posting receipt)I am able to buy a subscription in my MacOS app, but can not restore it as well. Any suggestions?I use SDK release/4.0.0-rc.1
I am integrating RevenueCat into a ‘mature’ UIKit Objective-C iOS app. @import RevenueCat; gives me build error Module 'RevenueCat' not foundI used swift package manager to bring in 4.1. I added RevenueCat package to all the targets that should need it. No end of cleans & restarts gets it working. I was using an old .pch file which can cause weird #include dependency problems. After hacking to remove the .pch hey presto it worked. So I went ahead and properly removed the .pch files from the whole app, touching 100+ files. Then I put back @import RevenueCat; and I get the same build error Module 'RevenueCat' not found. I have another target for Mac Catalyst that shares nearly all the same code. That builds fine!Can anyone help?
I’m trying to handle `TRANSFER` events from the webhooks.Unfortunately, the `TRANSFER` events don’t copy any of the users previous attributes, including aliases (there should be an option to do this automatically IMO), so now we’re trying to keep our user app IDs in sync with our backend/database.It seems that I cannot set aliases using the REST API though, only attributes. Is there a way for me to set aliases using the REST API?
I am running react-native-purchases 4.5.3 on an m1 MacBook with xCode 14. Building works fine on a physical device but fails on emulator with this error: fatal error: module map file '/Users/xxxxxx/Library/Developer/Xcode/DerivedData/xxxxxxx-aypdoepholwfczhdoyntaygzhteb/Build/Products/Debug-iphonesimulator/PurchasesCoreSwift/PurchasesCoreSwift.modulemap' not found1 error generated.Has anyone experienced that problem?
I migrated my app to 4.0 of purchases-ios and released it on Testflight.When I install the app on a device with an active subscription, the subscription status is lost (with all the associated features).If I re-install the App Store version, the subscription status is back.Purchasing works correctly in Xcode / debug.Any idea what’s happening?Thanks
I'm having a problem with Android users, they purchase the subscription, but does not receive the subscription, instead they are asked to open the App to confirm the subscriptionReact Nativereact-native-purchases: 4.5.2
Calls to -- customerInfo?.entitlements[ “myEntitlementID” ]?.isActive seems to be generating Debug message log noise.I’m unsure how to fix/quiet these messages, does anyone know if this is a problem or a way to resolve whatever might be casing this? I’m assuming this is a problem with the .json being returned by the RC rest endpoints as its being decoded… This is the console output:_____________________2022-03-31 20:12:40.544032-0400 astrx[50240:2136091] [Purchases] - DEBUG: 👤 Identifying App User ID2022-03-31 20:12:40.551928-0400 astrx[50240:2136091] [Purchases] - DEBUG: ℹ️ Debug logging enabled2022-03-31 20:12:40.552073-0400 astrx[50240:2136091] [Purchases] - INFO: ℹ️ StoreKit 2 support enabled2022-03-31 20:12:40.552118-0400 astrx[50240:2136091] [Purchases] - DEBUG: ℹ️ SDK Version - 4.1.02022-03-31 20:12:40.552159-0400 astrx[50240:2136091] [Purchases] - DEBUG: 👤 Initial App User ID set2022-03-31 20:12:40.572296-0400 astrx[50240:2136091] [Purchases] - DEBUG: ℹ️ Key 'CodingKeys(strin
I migrated my app to RC, however old subscribed users are having a sync problem. Previously, I was using react-native-iap library for subscriptions and receipts validations in the client side. if ( isSubscribedInOldSystem // not able to get this information && !isSubscribedInRevenueCat) { Purchases.syncPurchases();}Because of RC, I had to remove react-native-iap from my packages.json to prevent crashes and libraries incompatibilities.I never stored any users subscriptions informations and I am now unable to get the isSubscribedInOldSystem to syncPurchases. I need your help. Is there any way to proceed? Thank you in advance,Paul
ENVreact-native 0.67.4yarn 1.22.10node v14.16.0 dependencies"dependencies": {"@openspacelabs/react-native-zoomable-view": "^2.0.0","@react-native-community/cameraroll": "^4.1.2","@react-native-community/segmented-control": "^2.2.2","@react-native-community/slider": "^4.2.1","@react-native-picker/picker": "^2.4.0","@react-navigation/bottom-tabs": "^6.2.0","@react-navigation/native": "^6.0.8","@react-navigation/stack": "^6.1.1","@rneui/base": "^4.0.0-rc.1","@rneui/themed": "^4.0.0-rc.1","react": "17.0.2","react-native": "0.67.4","react-native-gesture-handler": "^2.3.2","react-native-image-picker": "^4.7.3","react-native-safe-area-context": "^4.2.4","react-native-screens": "^3.13.1","react-native-vector-icons": "^9.1.0"},
I’m implementing Non-Subscription Purchases (in Flutter). While testing I discovered that the Google Play store offers an option to select a quantity. When I submit a quantity greater than 1 the webhook JSON and Subscriber Info retrieved by the REST API do not reflect the selected quantity. Am I missing something or is this something that needs to be added to RevenueCat.I’ve included a picture of the purchase screen and the webhook JSON. You’ll note that the ‘price’ shown in the JSON reflects the amount for a quantity of three, however, there is no other indication that multiple units were selected. Webhook:{ "event_timestamp_ms": 1648663628931, "product_id": "com_phonelynk_prepaid_phonenumber", "period_type": "NORMAL", "purchased_at_ms": 1648663624258, "expiration_at_ms": null, "environment": "SANDBOX", "entitlement_id": null, "entitlement_ids": [ "voice_calls", "texting" ], "presented_offering_id": "default_offering", "transaction_id": "GPA.3327-0411-9732-1xxxx",
Hello. I'm testing AppStore subscription via TestFlight.I started a subscription via my app.Then the first notification was "RENEWAL" view WebHook.I remember PlayStore is start with “INITIAL_PURCHASE". In case of AppStore, is this right? best regards.
I'm not seeing my offerings show up when I try to fetch offerings through the RC Amazon SDK.The SDK is configured using AmazonConfiguration.Builder I've enabled the products in the Amazon Developer Console I've setup the Amazon Live App Testing I've added products to RevenueCat and add it to my Offering and Entitlement I've followed everything on this postEvery time I open the paywall I get: DEBUG: ℹ️ No cached Offerings, fetching from network. No errors, but no Offerings showing up either when querrying through Purchases.getSharedInstance().getOfferingsApp works fine in regular Google Play mode.Would it be possible to get step-by-step instructions on how to actually setup the Amazon SDK?
We are currently testing restore purchase behavior on the Test Flight version of our app. When evoking the restore purchase behavior the app was able to locate the current subscription and unlock pro level features, but we never received a TRANSFER webhook. Are TRANSFER events available in Sandbox/Test Flight environments.
We added RevenueCat to an existing application that already had in app purchases.We would like to hide some from RevenueCat as to avoid the MTR fee. Is there a way to do this?We are using RevenueCat for new In App subscriptions but would like to separate these from previously implemented purchases.
Hi,I’m a currently facing an issue in sandbox mode with renewal subscriptions in Android.When I purchase I get the activeSubscriptions property within the UpdatedPurchaserInfoListener(onReceived) but after some time, if I kill the app and relaunch it, the listener will return an empty activeSubscriptions.And still, after some time, killing the app again and relaunching it will give me the expected activeSubscriptions.This is happening before the subscription gets cancelled after the 6th renewal.So why do I get this empty activeSubscriptions property whereas the subscription is supposed to be active ? It’s really annoyingThanks for helping
I’m trying to set up Purchases on a watchOS app which has a companion iOS app.I thought I could consume a Swift package for multiple targets at the same time but as per this post on SO it’s not quite straightforward as I thought it would be.I followed Diego Carrera’s solution and added the Purchases framework in the Watch extension like this:General tab, and in Frameworks, Libraries and Embedded Content press +, select the package and press AddThis did the trick for me and on my Watch App Extension I can finally see the import Purchases option.I also added a shared singleton class to manage Purchases’ delegate, both for the iOS and the watchOS app. There, I configure everything, set the delegate to self and retrieve the purchaser info.This is all good if I run everything on the iOS app but when I do the same on my watch, Purchases won’t work and I get no information at all:<PurchaserInfo originalApplicationVersion: (null), latestExpirationDate: (null) activeEntitlements: {}, activeS
I have found testing that the line below sometimes returns false when a subscription is active. purchaserInfo.entitlements[XXXXXXXXX]?.isActiveHow can this be?Also I notice that in your quick start guide you no longer have the line purchaserInfo.entitlements[XXXXXXXXX]?.isActiveregardsPeter
Hi. There are groups in my app and the groups have a couple of members. If one of them pays for subscription, I change the group status and all the members in group can access premium contents. Can I initialize the ‘group id’ instead of user id (firebase auth uid) ? Is it a good practice? Do I have to use aliases?My code: await Purchases.setup(_api_key, appUserId: group.id);
We added two subscriptions to Revenue dashboard, and that didn’t fetch the subscriptions on mobile side correctly.It seems have problem between Revenue and ionic project so what’s the best way to troubleshoot this problem?
I have an app that is available for macOS(native) and iOS. The app has non consumable IAP(lifetime) and subscriptions(monthly+annual). The reviewer is unable to complete the purchasing of subscription on Mac. Here is the message:We discovered one or more bugs in your app when reviewed on Mac running macOS 12.0.1A receipt error occurred when purchasing subscription, as well as attempt to restore a purchase.The purchase flow works well on my machine but the app is unable to pass review. It was rejected 3 times already. The error is RCInvalidReceiptError("The receipt is not valid.")Revenue SDK version: 3.12.8 BTW, the iOS version of the app passed the review without any problems.iOS and Mac versions share the same codebase. Yesterday I submitted Mac version with Adapty(service that is similar to RevenueCat). And voila: app is in ‘Pending developer release’ state. RevenueCat seems to be totally broken on Mac.
Hi folks, I am testing the purchase function and running into a problem that, every time I called the purchase function it will ask me to login using my Apple ID. I tested on both physical device and stimulator. I’ve login both before I installed the app (i also tried uninstall and login again but no luck). Any advice? Thanks a lot.
Hi there,I have realised that due to a bug in my code, I have not been logging in all users.As we are in the internal testing phase, this is not such a big issue.However, once the app is released it might become a problem, as users who created accounts during internal testing need to use the same app accounts. These users have not been logged into RevenueCat but are just anonymous users.My question pertains to the RevenueCat representation of these users. Is it an issue that the user who has been an anonymous user during internal testing (no purchases taking place), be logged in in RevenueCat? Thank you, and sorry for the somewhat confusing question!
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.