Discussions

Ask a Question
ANSWERED
ANSWERED
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).

Non-subscription non-consumable purchases?

I am looking at options for easily adding in-app purchases to an older swift project of mine. I am looking at Adapty because I like your documentation on installing and implementing. However, this particular project I might proceed with a single purchase rather than subscription. Will Adapty’s features still be useful to me? Thanks
ANSWERED

Adapty inapp

Hello. I'm trying to implement inapps in my application using adapty. And I faced with a problem when I try to display paywall. When I call method Adapty.showVisualPaywall(...) I get blank screen and nothing else. I guess this method helps to show your paywall(and products) without writing any code for presentation, but it doesn't work or I do something wrong. I will be grateful for any advice. Thanks.
ANSWERED
ANSWERED

React native - getPaywalls throws UNKNOWN_ERROR

Hello. We are implementing the react native sdk but when we try to get the paywalls we receive this error. AdaptyError { "adaptyCode": "unknown", "code": 0, "localizedDescription": "UNKNOWN_ERROR", } What can be the cause?