Get help with your SDK implementation.
Recently active
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 ()
We would like to display something to the user before swapping the subscription to a different user ID. That would mean knowing, when possible, the subscription status of the AppleID or Google Play account.Is there a way to fetch the local subscription status with the SDK? Of course that information could be incomplete on iOS without a user-approved Restore, but it would still cover a large enough number of cases to help with the customer support.
How can i set the FirebaseAppInstanceID in flutter, there is no method for it in the flutter SDK
We recently migrated from the legacy version (aliases) to transfer purchases. Will this behavior take effect immediately or will there be a lag time till this behavior takes effect?
Hi,I followed your tutorial to convert our Paid app to Subscriptions - https://www.revenuecat.com/blog/converting-a-paid-ios-app-to-subscriptions.In sandbox mode everything works as expected, but in production it seems that ‘CompatibilityAccessManager’ cannot convert old users without reopening the app. So my guess is that ‘func isActive(entitlement: String, result: @escaping ((Bool, Purchases.PurchaserInfo?) -> Void))’works only after some delay or 2nd time in production.I configure entitlements on ‘appDidFinishLaunch’ to grand access with this method:‘func configure(entitlements: [BackwardsCompatibilityEntitlement], completion: ((Purchases.PurchaserInfo?) -> Void)? = nil)’. Also I set ‘PurchasesDelegate’ to catch updates and configure UI.When should I check ‘isActive’ state with CompatibilityAccessManager? Can I rely on ‘PurchasesDelegate’ or it’s better to use some timers to recheck again ‘isActive’ state?Can we test this problem on production with promo-codes?
Problem: from my app’s perspective purchases seem to be working, but I see no record of them anywhere on the RC website (recent transactions, customers in sandbox, etc).Package: RevenueCat 4.11.0, Xcode 14 beta 6I used RC for my last app and was very happy with the experience. I want to use it again for my next app, which is for iOS 16 only. It’s the same scenario as the last app: no subscriptions, one non-consumable “pro” upgrade, three consumable “tips”. I used the same code as in my last app, with obviously a different public key. I went through the same setup steps as last time on ASC and RC websites. When I start the app (with debug logging on) I see the new product names I created for this app being pulled down. My tips View is being properly populated with my tip names and prices. When delete the app, reinstall it, and I purchase the non-consumable Pro it properly warns be that I’ve bought it already. I’m making purchases with a valid Apple account. I’m testing from an iPhone
We just migrated from the old Purchases pod (version 3.13.1) to the new RevenueCat (version 4.11.0).In didFinishLaunchingWithOptions method we are configuring RevenueCat as follows:let purchases = Purchases.configure( with: Configuration.Builder(withAPIKey: "???") .with(observerMode: true) .build())let instanceID = Analytics.appInstanceID()purchases.attribution.setFirebaseAppInstanceID(instanceID)if instanceID == nil { // Track error}Until now, 5% of our users using iOS 12/iPadOS 12 are getting this crash Crashed: com.apple.main-thread0 libswiftCore.dylib 0x204ba0 specialized _assertionFailure(_:_:file:line:flags:) + 3601 libswiftCore.dylib 0x282bc _assertionFailure(_:_:file:line:flags:) + 322 libswiftFoundation.dylib 0xa3d10 @objc static NSObject.__old_unswizzled_keyPathsForValuesAffectingValue(forKey:) + 843 libswiftFoundation.dylib 0xa436c static __KVOKeyPathBridgeMachinery.keyPathsForValuesAffectingValue(forKey:) + 2724 l
I just updated my xcode and my computer with the new apple updates that just came out and now RevenueCat is making my project not build correctly because i keep getting this error in one of their files “Stored properties cannot be marked potentially unavailable with '@available'” What should I do to fix this?
I noticed when testing that my subscription expires pretty quickly. Subscription acceleration is vaguely explained in the docs (more details would be super helpful). The odd thing is that if I go through with the purchase again, it appears to succeed (it does not throw a PlatformException) but then when I print the entitlements right after the purchase code (await Purchases.purchasePackage(package)) I see this:{premium: EntitlementInfo{identifier: premium, isActive: false, willRenew: false, periodType: PeriodType.normal, latestPurchaseDate: 2021-09-22T01:58:04Z, originalPurchaseDate: 2021-09-21T20:58:05Z, expirationDate: 2021-09-22T02:58:04Z, store: Store.appStore, productIdentifier: jsdev_59_1y_1w0, isSandbox: true, unsubscribeDetectedAt: 2021-09-22T02:59:55Z, billingIssueDetectedAt: null}}If going through with a purchase does not renew an expired subscription, what does?(sorry for the mediocre formatting, your code formatter for this forum doesn’t support markdown and doesn’t support
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.