Skip to content

Latest commit

 

History

History
142 lines (74 loc) · 5.52 KB

CHANGELOG.md

File metadata and controls

142 lines (74 loc) · 5.52 KB

Changelog

3.1.2 (2023-07-13)

Bug Fixes

  • stop using deprecated removeEventListener method on provider (#59) (65b5678)

3.1.1 (2023-01-11)

3.1.0 (2023-01-11)

  • Removed location tracking code

3.0.0-rc.0 (2021-04-23)

Breaking Changes

  • We've switched away from default exports and now export each method/hook individually for improved discoverability and autocompletion. Read more about migrating from v2.x to v3.x here.

Features

  • We've introduced hooks that can be utilized for easier usage of the core Taplytics React Native SDK. Check out the docs here.
  • The core SDK methods were also completely re-written from the ground up natively in TypeScript.
  • Added more comprehensive JSDocs.
  • Fixed newAsyncVariable not returning a number variable on Android
  • Fixed newAsyncVariable not returning a variable of JSON type on iOS.
  • The callback function within propertiesLoadedCallback now provides a boolean type argument indicating if the properties were loaded on Android, similar to iOS
  • propertiesLoadedCallback now returns a subscriber object. subscriber.remove() can be called to clean up the event listener when a component is unmounted.
  • Fixed newAsyncVariable crashing the app when a new session is created on iOS
  • Fixed propertiesLoadedCallback for Android
  • Fixed propertiesLoadedCallback crashing the app when called more than once
  • Added support for React Native 0.60.0 and autolinking
  • Added types
  • Added call registerPushNotifications for iOS
  • Changed setUserAttributes to return promise.
  • Added getRunningFeatureFlags and featureFlagEnabled methods.
  • Add push open listener compatability for cold open after force close on Android.
  • Push listener backwards compatibility for react native <0.50.0
  • Remove erroneous log
  • Fix registering for push on iOS
  • Allow for push notification hooks in iOS
  • Add error states for various async calls
  • RN 0.47+ Support
  • Update reference to iOS push register method.
  • Fixed json attributes passed into logEvent and logRevenue causing crash.
  • Fixed search paths for non-cocoapods import
  • Fixed getSessionInfo crash
  • Added push ID to value sent to BroadcastReceiver
  • Added safety in broadcastReceiver
  • Fixed broadcastreceiver sending wrong push event types.
  • Updated android package name from com.react to com.taplytics.react
  • Updated search paths
  • Fixed npm references not pointing to the right project.
  • Cleaned up many iOS functions.
  • Fixed react native minimum version number.

1.0.0

  • Initial version of React Native SDK. Please contact us with any questions or use git issues.