Discussions

Ask a Question
ANSWERED

Ошибка noProductsFound во время ревью

Приветствую. Не можем пройти ревью Apple, т.к. во время ревью у проверяющего возникает ошибка noProductsFound. При этом в TestFlight все работает на разных версиях iOS. Идентификатор покупки (точнее, подписки) перепроверили. Кто-нибудь сталкивался с таким? В чем может быть проблема?
ANSWERED

How to create User via API method with certain User's Country parameter?

Our case: User can sign up via Web page -- it's implemented via Adapty API (https://docs.adapty.io/docs/server-side-api-specs#create-a-user) used on our backend. Problem: Users created via Adapty API from backend server are signed up with 'USA' Country, which has significant impact on our analytics. Possible solution: As we understand, reason of such behaviour is - Adapty API uses server's IP (USA origin) which make request to create user to set User's Country. Is it possible to allow set user IP/Country in Adapty API Create User method as an optional parameter?
ANSWERED

отображение цены подписки не только в USD

Начал подключать ваш сервис на Flutter. Список подписок, текстовку все получаю, но цена приходит только в USD. Как получить цену подписки в валюте страны?
ANSWERED

Is Unity SDK actual enough?

Hello! I am developing my app on Unity, but I found out that Unity SDK may be not actual enough (on Github this project was updated on March). So I would like to know - is it OK to integrate Unity SDK? Will be all features available for me? And will everything work correctly?

"Adapty SDK was not initialized" on Android

I am using React Native to develop my iOS and Android Apps. On iOS, everything works well. But on Android, my adapty.purchases.restore() function throws an error like below; {"adaptyCode": "sdkNotActive", "code": 403, "localizedDescription": "Adapty SDK was not initialized"} Also, while getting the products, it turns the empty products (with prices of 0). So, it is not a problem about the connection between my App and Adapty. I followed the Android instructions part, twice. But the results are the same. What should I do? Thank you all, in advance.
ANSWERED

ITMS-90078: Missing Push Notification Entitlement

We are not intending to use promo campaigns, so I have not set up push notifications in Apple Developer. I am receiving a notification every time I upload a build to App Store Connect that I am missing the entitlement however. Is there any I can do to disable the use of push notifications in Adapty so this isn't triggered, or is there another solution?

Потписки налаживаются друг на друга

У меня есть несколько продуктов, все они дают доступ к "Премиум" контенту, но если купить несколько они не продлевают друг друга, а налаживаются поверх, или в, если продукт что был куплен первым имел срок дольше(пр. первый длится пол-года, потом почему-то захотелось ещё месяц добавить, чтобы получить 7 месяцев, а получаем также 6 только параллельно первой подписки в полгода будет идти и и подписка за месяц ). Я подозреваю что я что-то не так настроил, прошу помочь. Заранее спасибо. PS. Русский я знаю лучше чем английски. Прошу понять и простить XD
ANSWERED

introductoryOfferEligibility

introductoryOfferEligibility and promotionalOfferEligibility, which one is using for determine the availability of free trial, I don't quite think the response is correct. localizedSubscriptionPeriod: 1 week, price: 2.99, localizedTitle: 7M Pro, currencyCode: USD, discounts: [], vendorProductId: com.oneothergame.7min_cardio.pro_weekly, promotionalOfferEligibility: true, introductoryOfferEligibility: false, isFamilyShareable: false, paywallABTestName: x13eswwt - Basic OOG106 design with 1 option (A/B Test), variationId: 6cf0d180-b9b7-453e-a5aa-32178530da9e, subscriptionGroupIdentifier: 20903914, regionCode: US, paywallName: paywall-x13eswwt (Weekly), localizedPrice: $2.99, subscriptionPeriod: numberOfUnits: 7, unit: day, localizedDescription: Unlock music and all premium content., introductoryDiscount: numberOfPeriods: 1, localizedPrice: $0, localizedSubscriptionPeriod: 1 week, subscriptionPeriod: numberOfUnits: 1, unit: week, paymentMode: freeTrial, price: 0, currencySymbol: $

restorePurchase and makePurchase

When we call restorePurchases, and failed, then we makePurchase, there is never has any completion returned, so we get stuck on our subscription screen, it happen almost 9 out of 10 times. Any idea why?
ANSWERED

updateProfile

Hello! Plz, add 'amplitudeDeviceId' field in d.ts
ANSWERED

Product localizedDescription is not localized.

Hello, We start implementing Adapty but we found the problem in booth iOS and Android SDKs. In ProductModel.localizedDescription we are getting only English description. We use that before to show description to the user and from app stores we get right localized description but Adapty send us only English. ProductModel.localizedTitle is working and we are getting localized text. Is this known bug?
ANSWERED

AdaptyError (code 1001) No In-App Purchases were found.

I have connected and went through the Quickstart but im getting that error what does it mean even when my adapty dashboard shows the product is active
ANSWERED

Flutter :- I want to add promotional push notification

Hey I love adapty and I was wondering how can I add events push notification I want users to know when their subscription is about to cancel and etc is that possible?
ANSWERED

Flutter SDK - inaccurate subscription status

I bought an auto renewal subscription via IOS sandbox account. I cross checked everything with the feed screen when I bought it. it showed on feed screen and in app it showed me the time it would expire and I checked the app 1 minute before the expiration and 1 min after just to see how precise the data was and it worked amazingly the only issue is its an auto renew subscription but after reaching expiration time the status shows not subscribed to the subscription BUT on feed screen it shows that renew subscription was initiated and also when I tap again to get subscription I get apple prompt saying im already subscribed my question is why does it show inactive if all the rest are showing active. its it because im using sandbox ? and if yes will I encounter this issue in production?
ANSWERED

changing prices

Hi, We're going to launch a big app update with new paid membership paywall (the app was free until then). I want to offer a cheaper price at launch, to be kind to my existing users and people joining in the first few weeks. I want these users to remain on this price plan forever (until they let their subscription expire). https://developer.apple.com/app-store/subscriptions/#providing-subscription-offers This page to me is so confusing, I can't manage to wrap my head around the options... I don't like options where they sign up and the first month is cheaper and then goes up. Here I don't think we're talking about Introductory offer, since I want them to remain on this price forever (until they let their subscription expire). I can imagine 2 ways to do what I want in the App Store. Which one makes most sense and is easiest to manage? A. Set a "default" price product, and set a "discounted" price product, for all the plan durations (1 month and 6 months, in my case). When I want to switch to the Default price, I just update my config in Adapty and the new "default" price shows up in Adapty (I may want to customize a bit the copy around the paywall, with remote config). B. Set my price products, for all the plan durations (1 month and 6 months, in my case). When I want to switch to a more expensive or any other price point, I just update the prices in the App Store for these products, and that's it (I may want to customize a bit the copy around the paywall, with remote config). What would you do? Or am I approaching this from the wrong angle, or am I leaving money on the table... Thanks for your advice & support! Paul
ANSWERED

Flutter Crash on Startup for iPhone 6 running iOS 12.4

It seems that after installing `adapty_flutter: 1.0.6` with the following versions of the package via Cocoapods `- Adapty (1.16.3) - adapty_flutter (1.0.0): - Adapty (= 1.16.3)` the application simply crash: ``` Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: DYLD 1 Library missing Library not loaded: /System/Library/Frameworks/AdServices.framework/AdServices Referenced from: /Users/USER/Library/Developer/CoreSimulator/Devices/772E56D9-F7B8-460E-93D7-8DC2083F169F/data/Containers/Bundle/Application/03BB65BD-2F4D-418A-937B-FD851AC8F406/Runner.app/Runner Reason: image not found (terminated at launch; ignore backtrace) ```
ANSWERED

On Flutter you can't renew a iOS test subscription after it has been (auto) cancelled

Using the flutter plugin (v1.16.3) I can buy a subscription with Adapty.makePurchase() and the subscription works correctly. Then it renews several times in 5 minute intervals as expected. And then finally is cancelled. After this happens, I cannot subscribe again. I can see in the logs just after my call to await Adapty.makePurchase(premiumSubscription) that it seems to indicate the subscription was successful. 2021-11-20 16:43:52.243-0800 [Adapty v1.16.3(1)] - INFO. Successfully purchased product: com.--placeholder-product--.monthly But the MakePurchaseResult result from Adapty.makePurchase() is showing it is not active. MakePurchaseResult.toString() = id: premium, isActive: false, vendorProductId: com.--placeholder-product--.monthly, store: app_store, activatedAt: 2021-08-22 17:54:35.000Z, renewedAt: 2021-11-20 21:14:06.000Z, expiresAt: 2021-11-20 21:19:06.000Z, isLifetime: false, activeIntroductoryOfferType: null, activePromotionalOfferType: null, willRenew: false, isInGracePeriod: false, unsubscribedAt: 2021-11-20 21:19:06.000Z, billingIssueDetectedAt: 2021-11-20 21:19:06.000Z, vendorTransactionId: null, vendorOriginalTransactionId: null, startsAt: null, cancellationReason: voluntarily_cancelled, isRefund: false} The UI on the device does NOT show the subscription popup either.
ANSWERED

Integration Issues since using Singular MMP

Hi, We have been using singular as our MMP tool. But we need to pass the SKPaymentTransaction to complete revenue event in the MMP tool. But ever since we have integrated Adapty, we are not getting SKPaymentTransaction in return and hence our integrations for Adapty and singular are not compatible. Is there a way to be able to use both platforms simultaneously?
ANSWERED

Testing Subscription Stream Listeners

Hello, Is there any recommended way of testing IAP Subscription Stream events? I am at a loss at how I could test a subscription change coming directly from the subscription stream. Thank for the help!
ANSWERED

What is Make Purchase and what is its application in the SDK?

Hi, We have implemented the complete SDK of Adapty, but while going through the documentation, we came across a function called Make Purchase. Wanted to understand the concept and reason behind implementing that since we already are receiving the events after installing the SDK. So what is it and why does it need to be done?