Discussions

Ask a Question
ANSWERED

Expo's EAS android build broken

I'm trying to use adapty with Expo (with expo-dev-client), which is going fine on iOS so far. On Android, when launching the eas build, I'm getting the following error : > Task :react-native-adapty:compileDebugKotlin [stderr] e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors [stderr] e: /home/expo/.gradle/caches/transforms-3/2ae867a2e11de942398247e9a7b7c6a4/transformed/jetified-kotlin-stdlib-jdk7-1.6.10.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.1. I'm using the 2.3.1 react-native-adapty, everything is up to date on expo/eas side.
ANSWERED
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
ANSWERED

Preventing multiple application users from sharing single App Store subscription

I have a question regarding the interplay of Apple ID purchases and my application users. Let's say I have a user, Alice, who creates an application account and purchases a subscription to my app from her iPhone. Great. Now her friend, Bob, is borrowing her phone, so Alice logs out of her application account, and Bob logs into his own non-premium application account on Alice's phone. Bob decides he likes the app so much that he wants to buy the premium subscription, so Alice attempts to make the purchase for him while he's logged into his application user _on Alice's phone, with Alice's Apple ID._ In the ideal case, my application would throw an error, saying that the current Apple ID (Alice's) already has a subscription associated with a _different_ application account (Alice's application account). Is it possible to do this (to either prevent or void the purchase attempt) with the Adapty Swift SDK _without_ having to store some mapping on my own server? This feels like a check that you could do with `StoreKit` before completing a transaction, but since Adapty completes the transaction for you, I'm not sure how to perform this check. I want to avoid having multiple application accounts associated with a single Apple ID or somehow messing up the existing application user <--> apple ID mapping (for example, if Alice's subscription were modified by the subscription purchase on Bob's application user's behalf).
ANSWERED

Adapty Error: #1000 (noProductIDsFound): No In-App Purchase product identifiers were found.

I'm using React native and I've added all products to both Adapty and stores (ids). But still I'm getting this error: ` ERROR [Adapty JS] — ERROR: : <-- Native SDK replied with error error="#1000 (noProductIDsFound): No In-App Purchase product identifiers were found." nativeError="{\n \"nativeStackAndroid\": [],\n \"userInfo\": null,\n \"message\": \"{\\\"adapty_code\\\":1000,\\\"message\\\":\\\"No In-App Purchase product identifiers were found.\\\"}\",\n \"code\": \"adapty\"\n}"`
ANSWERED
ANSWERED

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

Hi, I am getting the AdaptyError (code 1001) No In-App Purchases were found. when I have the product in the Adapty interface as well as in Apple Store Connect. I am not sure what is wrong. Using flutter to include Adapty in app purchases on IOS