Discussions

Ask a Question
ANSWERED

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
ANSWERED

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)") } }
ANSWERED

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?
ANSWERED

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?
ANSWERED

Error: Adapty NativeModule is not defined, js engine: hermes

I'm trying to add Adapty to my Expo application, but when attempting the initial steps, I encounter this error: ERROR Error: Adapty NativeModule is not defined, js engine: hermes ERROR Invariant Violation: "main" has not been registered. This can happen if: - Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project. - A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes
ANSWERED

Functionalities not working in release mode

Hi, We are using Adapty with React Native. We can subscribe to products and see paywalls in debug mode, But when we are on release mode the paywalls and functionalities are not working. It gives the following error. `{"adaptyCode": 2006, "localized Description": "Failed to decode native...}` Adapty versions `"@adapty/react-native-ui": "^2.0.0", "react-native-adapty": "^2.7.0"` I have tried with placing the following configuration in proguard `-keep class com.adapty.*_ { _; }` But it doesn't seem to work as well.
ANSWERED

Trying to purchase in React Native Android fails. Responds storeProductNotAvailable

I'm using the Adapty paywall builder to create a paywall. The paywall shows the correct subscription information. But when I try to subscribe it gives me the following error. ``` Error: #5 (storeProductNotAvailable): Play Market request failed on purchases updated: responseCode=4 ``` I have uploaded an app to internal testing in Android. Used a device I log in with a license test user with Play Store. But it doesn't work. ``` react-native-adapty: 2.9.0 ``` What I'm doing wrong?
ANSWERED

Installint react-native-ui

Trying to use the paywall builder and react native ui. First, I installed adapty properly and it built fine. Then installing @adapty/react-native-ui continues to fail. This is the error message during the build: - What went wrong: Could not determine the dependencies of task ':adapty_react-native-ui:compileDebugJavaWithJavac'. > Could not resolve all task dependencies for configuration ':adapty_react-native-ui:debugCompileClasspath'. > Could not find io.adapty.internal:crossplatform:2.7.0. ``` Searched in the following locations: - https://oss.sonatype.org/content/repositories/snapshots/io/adapty/internal/crossplatform/2.7.0/crossplatform-2.7.0.pom - https://repo.maven.apache.org/maven2/io/adapty/internal/crossplatform/2.7.0/crossplatform-2.7.0.pom - file:/E:/test/node_modules/jsc-android/dist/io/adapty/internal/crossplatform/2.7.0/crossplatform-2.7.0.pom - https://dl.google.com/dl/android/maven2/io/adapty/internal/crossplatform/2.7.0/crossplatform-2.7.0.pom - https://www.jitpack.io/io/adapty/internal/crossplatform/2.7.0/crossplatform-2.7.0.pom - file:/E:/test/android/localMaven/io/adapty/internal/crossplatform/2.7.0/crossplatform-2.7.0.pom - file:/E:/test/android/internalMaven/io/adapty/internal/crossplatform/2.7.0/crossplatform-2.7.0.pom - file:/E:/test/node_modules/react-native-adapty/lib/android/localMaven/io/adapty/internal/crossplatform/2.7.0/crossplatform-2.7.0.pom - file:/E:/test/node_modules/@adapty/react-native-ui/android/localMaven/io/adapty/internal/crossplatform/2.7.0/crossplatform-2.7.0.pom - file:/E:/test/node_modules/react-native/android/io/adapty/internal/crossplatform/2.7.0/crossplatform-2.7.0.pom Required by: project :adapty_react-native-ui ``` Tried it in an empty test project as well where nothing else but adapty packages are installed. Any help would be appreciated.