npm react-native-adapty 1.2.0
v1.2.0

latest releases: 2.11.3, 2.11.2, 2.11.1...
2 years ago

Changes ✨

  • 🔥 BREAKING | Android now supports localizedSubscriptionPeriod for AdaptyProduct and AdaptyProductDiscount, Thus, all cases product.ios.localizedSubscriptionPeriod must now be replaced with product.localizedSubscriptionPeriod
  • iOS events now work properly. There are only two left now: onInfoUpdate and onPromoReceived. 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 as import { 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

Don't miss a new react-native-adapty release

NewReleases is sending notifications on new releases.