Ask a Question

isActive = false

When I get a successful subscription result from Adapty.makePurchase method, adapty profile in the closure of the method doesn't contain any active subscription. In a while(2-3 minutes) the didLoadLatestProfile gets the profile with active subscription. Why does Adapty return the wrong info in the profile after subscription? Sandbox environment iOS.

product repurchase dont open pay modal second time

With a sandbox account, consumable or subscription products work correctly the first time. But when I try to buy consumables a second time and more Adapty.makePurchase return success the actual pay modal did not even show up. Seems like it somehow skipped this part. Adapty analytics payments don't record for the user as well Recently I switched from v1 to v2 App Store Notification as well as upgraded adapty ios sdk to 2.9.0 + Not sure if it is somehow related but I assume so. Any suggestions? Will the same behavior impact production? I tried creating a new sandbox account but had the same behavior.

Using paywall builder to make purchases outside of Apple/Google

Is it possible? Hi, I want to implement IAP where the Appstore/GooglePlay are not working at the moment, or alternative stores are used. The most suitable candidate is "void paywallViewDidStartPurchase()" from AdaptyUI. All the necessary information is already there, but there is no way to prevent the system IAP dialog from being shown. Maybe there is some way to start a custom checkout process from paywall builder?

Android SDK 2.9.1 > Error : 400 Bad Request > setVariationId()

Hi, Team We are facing the below issues when trying to set up an event after purchase. Ref Doc: <https://docs.adapty.io/docs/android-observer-mode#ab-tests-analytics> > Request is unsuccessful. <https://api.adapty.io/api/v1/sdk/in-apps/transaction-variation-id/> Code: 400, Response: {"errors":[{"detail":"Transaction with this id does not exist","status":"400","source":{"pointer":"/data"},"code":"TRANSACTION_NOT_FOUND"}]} ```java Adapty.setVariationId(purchase.getOrderId(), paywall.getVariationId(), new ErrorCallback() { @Override public void onResult(@Nullable AdaptyError error) { if (error == null) { ObLogger.i(TAG, "setVariationId onResult: EventSent --> "); } else { ObLogger.i(TAG, "setVariationId onResult: error --> " + error.toString()); } } }); ``` > Note: > > 1. Paywall: Comes from "Adapty.getPaywall()" function > 2. Purchase: Comes from GooglePlayBilling "onPurchasesUpdated()" method. > > SDK : implementation 'io.adapty:android-sdk:2.9.1'

Adapty paywall editing has been down all day

I am trying to edit a visual paywall by changing the image on the paywalls page, <https://app.adapty.io/paywalls/91e873fd-31d9-4882-9635-cf5a931c5543?filter%5Bstate%5D=live%2Cinactive%2Cdraft> When I hit save the page goes into an infinite load. I have also tried creating a duplicate paywall with the new image and same thing when I hit save the button just spins and nothing happens. <https://app.adapty.io/paywalls/create> I tried early this morning and now tonight no luck either. In the web console I see the following errors ``` [FrontChat][Front] SDK Version: 7.1.2 (anonymous) @ chat.bundle.js:2 analytics-browser-gtm-2.1.3-min.js.gz:1 Your Amplitude instance is configured to track Page Views, Sessions, File Downloads, Form Interactions. Visit https://www.docs.developers.amplitude.com/data/sdks/browser-2/#tracking-default-events for more details. foo.js:1 Uncaught SyntaxError: Unexpected token '<' 9[Intervention] Slow network is detected. See <URL> for more details. Fallback font will be used while loading: <URL> 974Third-party cookie will be blocked. Learn more in the Issues tab. 22.2f68d1e5.chunk.js:1 Error: [FrontChat] Have not finished setting up FrontChatApp at w (chat.bundle.js:2:20324) at m (chat.bundle.js:2:20140) at window.FrontChat (chat.bundle.js:2:19742) at main.8467e39c.chunk.js:1:2100834 at ec (2.2f68d1e5.chunk.js:1:1711202) at ms (2.2f68d1e5.chunk.js:1:1731554) at is (2.2f68d1e5.chunk.js:1:1723805) at zo (2.2f68d1e5.chunk.js:1:1664332) at 2.2f68d1e5.chunk.js:1:1730350 at bs (2.2f68d1e5.chunk.js:1:1730355) at ts (2.2f68d1e5.chunk.js:1:1723325) at _ (2.2f68d1e5.chunk.js:1:1748700) at P (2.2f68d1e5.chunk.js:1:1749234) at 2.2f68d1e5.chunk.js:1:1753776 at l (2.2f68d1e5.chunk.js:1:1753891) at n (2.2f68d1e5.chunk.js:1:1752836) (anonymous) @ 2.2f68d1e5.chunk.js:1 api-admin.adapty.io/api/v1/client/company/af39e416-0459-4b71-9653-136b991e2e63/payment/card/:1 Failed to load resource: the server responded with a status of 404 (Not Found) 2.2f68d1e5.chunk.js:1 request_error Request failed with status code 404 (anonymous) @ 2.2f68d1e5.chunk.js:1 app.bundle.js?v=4c4df00:2 [FrontChat][Front] FrontChat Version: 7.1.2 test.e._isBreadcrumbTypeEnabled.console.<computed> @ app.bundle.js?v=4c4df00:2 widget-v2.js:1 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing. insert @ widget-v2.js:1 www.entitytag.co.uk/ingress/synclr/?partner=6007&ot=pixel&puid=7001&n=3&uid=6f7ad73224f30fcd3125104fd59082ad42481330c3cccc06f1fb54615e8d325c93101a48a2d074a3&s=1:1 Failed to load resource: net::ERR_INTERNET_DISCONNECTED 10[Deprecation] Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated (<URL>) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead. create:1 Access to XMLHttpRequest at 'https://px.ads.linkedin.com/wa/' from origin 'https://app.adapty.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. px.ads.linkedin.com/wa/:1 Failed to load resource: net::ERR_FAILED 2.2f68d1e5.chunk.js:1 [modern-screenshot] Error while reading CSS rules from https://surveys-static.survicate.com/fonts/fonts.css DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules at https://app.adapty.io/static/js/2.2f68d1e5.chunk.js:1:962258 at Array.filter (<anonymous>) at https://app.adapty.io/static/js/2.2f68d1e5.chunk.js:1:962202 at l (https://app.adapty.io/static/js/2.2f68d1e5.chunk.js:1:1075876) at Generator._invoke (https://app.adapty.io/static/js/2.2f68d1e5.chunk.js:1:1075664) at Generator.next (https://app.adapty.io/static/js/2.2f68d1e5.chunk.js:1:1076301) at https://app.adapty.io/static/js/2.2f68d1e5.chunk.js:1:939002 at new Promise (<anonymous>) at y (https://app.adapty.io/static/js/2.2f68d1e5.chunk.js:1:938782) at ct (https://app.adapty.io/static/js/2.2f68d1e5.chunk.js:1:961791) at https://app.adapty.io/static/js/2.2f68d1e5.chunk.js:1:966938 at l (https://app.adapty.io/static/js/2.2f68d1e5.chunk.js:1:1075876) at Generator._invoke (https://app.adapty.io/static/js/2.2f68d1e5.chunk.js:1:1075664) at Generator.next (https://app.adapty.io/static/js/2.2f68d1e5.chunk.js:1:1076301) at i (https://app.adapty.io/static/js/2.2f68d1e5.chunk.js:1:938835) (anonymous) @ 2.2f68d1e5.chunk.js:1 ``` Any help would be appreciated. Thanks \-Michael

SDK for web app

Hello, where can I find a documentation for making subscription on the web via Stripe? it's described here <https://docs.adapty.io/docs/stripe> , but the flow is not full. what does it look like in the front-end in React.js application for example? how Adapty and Stripe should be used? I'll be very thankful for any use case examples.

How to use AdaptyUI iOS

Здравствуйте! У меня есть paywall, который собран с помощью Paywall Builder. Я нашла, что для отображения таких paywall следует использовать отдельный модуль AdaptyUI. Как написано на странице <https://github.com/adaptyteam/AdaptyUI-iOS> я получаю paywall и затем должна использовать метод AdaptyUI.getViewConfiguration(paywall:locale:), но у меня появляется ошибка, так как доступный для вызова метод это - AdaptyUI.getViewConfiguration(data: , completion: ). В одном из проектов удалось отобразить paywall с использованием этого AdaptyUI.getViewConfiguration(paywall:locale:) метода, но для этого пришлось версию Adapty понизить до 2.8.0, хотя сейчас актуальная 2.9.3. Я также пробовала получить конфигурацию отображения с помощью paywall.remoteConfig и paywall.remoteConfigString, но и там и там получаю nil. Подскажите, пожалуйста, как правильно получить и отобразить paywall, созданный с помощью Paywall Builder?

The operation couldn’t be completed. (AdaptyErrorDomain error 1000.)

Здравствуйте! Пытаюсь подключить Adapty в свой проект, но получаю такую ошибку: [Adapty v2.8.0] - ERROR: [UI 2.0.2] #d8JvHu# loadProducts fail: StoreKitManagerError.noProductIDsFound([2.8.0]\: Adapty/SK1ProductsFetcher.swift#45) didFailLoadingProductsWith error = The operation couldn’t be completed. (AdaptyErrorDomain error 1000.) Вот так получаю paywall и отображаю его: Adapty.getPaywall(id, locale: "en") { result in switch result { case let .success(paywall): // the requested paywall self.adaptyPaywall = paywall Adapty.logShowPaywall(paywall) AdaptyUI.getViewConfiguration(forPaywall: paywall, locale: "en") { result in switch result { case let .success(viewConfiguration): let visual = AdaptyUI.paywallController(for: paywall, viewConfiguration: viewConfiguration, delegate: self) self.present(visual, animated: false) case let .failure(error): print("AdaptyUI getViewConfiguration error = \(error.localizedDescription)") } } case let .failure(error): // handle the error print("Adapty getPaywall error = \(error.localizedDescription)") } }

How can I differentiate Purchase events and analytics is come from "Test User" without buy Adapty.io?

Hi, As per the document, we can purchase using a Test user. After a successful purchase from the app's Purchase Screen, how can we differentiate real-time user events/Analytics from the adapty.io dashboard?

How the following scenarios works in Adapty?

Hi can someone help me with understanding the following scenarios 😊 - If I subscribe from my iphone with UserA and then I login with the same user in an Android, do I have the subscription in Android until the Iphone subscription expires? - If I sign up from my iPhone with UserA and then subscribed, then I logout and create another UserB, Will I receive the subscription status as active for UserB? - If I sign up from my iPhone with UserA and then subscribed, then I logout and create another UserB, then I sign in for UserA from another device with different apple id for App Store, will I be subscribed in both UserA and UserB?