Changes ✨
- 🔥 BREAKING | Android now supports
localizedSubscriptionPeriod
forAdaptyProduct
andAdaptyProductDiscount
, Thus, all casesproduct.ios.localizedSubscriptionPeriod
must now be replaced withproduct.localizedSubscriptionPeriod
- iOS events now work properly. There are only two left now:
onInfoUpdate
andonPromoReceived
. In both cases TypeScript support was expanded in such a way, that second argument would grab an according callback type (i.e.('onInfoUpdate', (data: PurchaserInfo) => void | Promise<void>) => Subscription
) AdaptyError
can now be imported from the root asimport { AdaptyError } from 'react-native-adapty'
- Now you can use
"all"
logLevel during initialisation - Now you can use
adapty.promo.canPresentCodeRedemptionSheet(): boolean
to verify whether a device is compatible with codeRedemptionSheet
iOS native bump 1.13.2 -> 1.16.4
Android native bump 1.4.0 -> 1.6.0