adaptyteam / AdaptySDK-Unity

Unity SDK for growing mobile in-app purchases
https://docs.adapty.io/docs/quickstart
MIT License
50 stars 4 forks source link

iOSIntroductoryOfferEligibility #11

Closed marvpaul closed 2 months ago

marvpaul commented 2 months ago

I'm currently working on integration of Adapty with my Unity app. For this reason I downloaded the Adapty Unity SDK. It's working so far (I can receive products, make purchases ...), but I now facing one problem: I have a subscription with an introductory offer (3 day free trial) which the user can use if he subscribed the first time (eligible). How can I check if the Adapty.PaywallProduct is eligible for the introductory offer?

The class SubscriptionDetails has a field "AndroidIntroductoryOfferEligibility" which sounds like the one I'm searching for, but it indicates that it's only for android. How can I check the iOSIntroductoryOfferEligibility?

marvpaul commented 2 months ago

Found it: https://docs.adapty.io/docs/fetch-paywalls-and-products