Skip to content

Releases: adaptyteam/AdaptySDK-React-Native

v2.4.6

02 May 08:50
Compare
Choose a tag to compare
  • Fixes iOS bug that caused cancelling purchase to be considered error 1006 instead of error 2 (#63)

Native SDK bumps:
iOS: 2.4.4 -> 2.4.5

v2.4.5

19 Apr 13:35
Compare
Choose a tag to compare
  • Added an option to activate usage logs. Read more.
  • Redesigned log system. You can read more about this update here
  • Moved compilation target JS version from ES5 to ES6
  • Redesigned analytics event system
  • Removed isOneTime property of AdaptyProfile.NonSubscription. Added isConsumable instead
  • Fix: lockMethodsUntilReady now really locks suspends
  • IntelliSense updates
  • Minor stability improvements

If Android Studio displays errors after update, try Build > Rebuild Project

Native SDK bumps:
iOS: 2.4.1 -> 2.4.4
Android: 2.4.1 -> 2.4.2

v2.4.3

29 Mar 11:03
Compare
Choose a tag to compare
  • AdaptyError.adaptyCode now has valid type (number) — for example 0 for 'unknown' etc. (#62)
  • AdaptyError.adaptyCodeStr added. It is a string representation of an error such as 'unknown' for adaptyCode: 0 (#62)
  • Event listeners haven't emitted correctly on Android with Expo SDK (#59)
  • For logging library version in stdout [Adapty JS vUNKNOWN] provided inconsistent results, version temporary hidden

v2.4.2

16 Mar 16:19
Compare
Choose a tag to compare
  • Fixes variation ID caching as undefined, resulting into re-writing the same product IDs over the last fetched paywall

v2.4.0

14 Mar 21:36
Compare
Choose a tag to compare
  • Changed the logic of working with fallback paywalls. Now, SDK won’t wait for the creation of a profile to return a fallback paywall
  • Added an option to set airbridgeDeviceId to user profile
  • The logging system has been improved: all requests and responses from the server are now logged in verbose mode, and the computation required for logging has been optimized
  • Increased the length and number of custom attributes
  • Bundle size 2.1MB -> 340kB

v2.3.13

04 Mar 06:37
Compare
Choose a tag to compare
  • Manual string decomposition to extract ISO dates on JS side. Solve edge-case, when Date.parse doesn't deserialize an ISO string with timezone offset

v2.3.12

01 Mar 19:41
Compare
Choose a tag to compare
  • new lightweight date parser is used instead of Date.parse to resolve the issue with some devices not being able to parse ISO 8601 with timezone offset date string

v2.3.11

01 Mar 06:38
Compare
Choose a tag to compare
  • customAttributes now return custom-set fields instead of pre-defined profile attributes

v2.3.10

27 Feb 20:34
Compare
Choose a tag to compare
  • Logger on JS layer. If you set logLevel, Adapty is now going to log all the happening events about serialization and messaging with native layer
  • Fixed an error, that caused getProfile to throw an error on some devices, if profile included a date with a timezone offset
  • Android native Adapty bump SDK v2.3.1 to v2.3.3

v2.3.7-beta

26 Feb 09:52
Compare
Choose a tag to compare
  • Another way to locate local maven repository for the cases, when Gradle fails to find it (#51)
  • updateAttribution fix for android. JS Bridge caused JS object to be invalid on a native side, changed serialization mechanism