Changelog

3.0.0 (2026-11-03)

This major version is a rewrite on top of the CoreDataDome SDK for React Native. See the migration guide to migrate from 2.x.

Breaking changes

  • Rename the package from @datadome/react-native-datadome to @datadome/react-native-datadome-fetch
  • Add @datadome/react-native-core-datadome as a peer dependency, which must be installed alongside this package
  • Replace DataDomeFetch and the DataDome singleton (DataDome.configure, DataDome.getInstance) with createDataDomeFetch(dataDome), which takes a DataDome client created with new DataDome({ clientKey }) and returns a fetch-compatible function
  • Remove the datadome request option: the returned function now adds the DataDome headers to every request and checks every response for a challenge
  • Remove DataDomeModal, DataDomeModule and enableVerboseLogs
  • Remove the react-native-webview peer dependency: challenges are now presented natively by the CoreDataDome SDK
  • Require React Native 0.85 or newer with the New Architecture, iOS 15.1 or newer and Android API 24 or newer

Changes

  • Accept a string, URL or Request as input, and a Headers object, an array of pairs or a plain object as headers
  • Return the server response as is when the CoreDataDome SDK fails, so a DataDome error never fails the app's request
  • Rewrite the package in TypeScript, and re-export DataDome, ResponseValidationStatus, DataDomeConfiguration and DataDomeCookie from the CoreDataDome SDK

2.0.9 (2026-11-06)

  • Fix duplicated datadome cookies on Android that could cause unexpected challenges

2.0.8 (2026-07-29)

  • Fix an issue on iOS that could lead to a session loss and trigger more challenges than expected

2.0.7 (2026-07-23)

  • Properly catch exceptions raised by internal calls

2.0.6 (2026-05-12)

  • Clear existing datadome cookies before storing a new one to prevent challenge loops caused by duplicate cookies
  • Fix assignment error on immutable state

2.0.5 (2026-03-10)

  • Fix cookie management on Android

2.0.4 (2026-01-27)

  • Add support for challenge responses with any response status code

2.0.3 (2025-12-23)

  • Fix cookie management issue inside the iOS native module

2.0.2 (2025-11-06)

  • Add all payload-related methods to the TurboModule interface
  • Add Platform import to the DataDomeModal class to prevent exceptions on iOS when retrieving cookies

2.0.1 (2025-09-12)

  • Fix an iOS bug that prevents a request from being retried after a challenge resolution

2.0.0 (2025-06-16)

  • Add support for the React Native new architecture
  • Remove the need to manually provide a reference to the DataDomeModal in the view component tree

1.4.0 (2025-06-02)

  • Fix race condition in challenge modal to ensure only one modal is shown at a time and block execution until it is resolved
  • Replace @react-native-async-storage/async-storage with Android native CookieManager for cookie handling, to prevent potential challenge loops caused by manual cookie injection
  • Improve support for TypeScript by generating types for the DataDome SDK
  • Fix potential Captcha loop on iOS

1.3.0 (2025-03-12)

  • Add support for invisible Device Check
  • Add support for additional challenge display after an invisible Device Check
  • Disable info-level logs by default (i.e. logs generated with console.log)
  • Add enableVerboseLogs method to activate info-level logs

1.2.4 (2024-12-16)

  • Fix error thrown on responses without a Set-Cookie header
  • Add support for HTML challenge response

1.2.3 (2024-08-19)

  • Fix react-native dependency version

1.2.2 (2024-07)

  • Improve the way we handle the DataDome cookie
  • Improve the way we retry blocked request after the resolution of a DataDome challenge
  • Remove the async-barrier dependency
  • Reduce the number of DataDome API requests made by the SDK

v1.2.1 (2023-12-20)

Fixes

  • On Android, the context was missing

v1.2.0 (2023-11-30)

  • Fixes an issue that was causing the iOS module to be unavailable

v1.1.0 (2023-05-16)

  • Upgrade Android Api Level to 33
  • Throttling SDK tracking payload feature
  • Unify fingerprint os typology in tracking payload

v1.0.14 (2022-06-08)

  • Forge new DataDome cookie when set-cookie is missing

v1.0.13 (2022-06-07)

  • Restore changes of barrier loop check before finish

v1.0.12 (2022-06-02)

  • Adapt cookies management to Lambda@Edge

v1.0.11 (2022-03-23)

  • Supporting concurrent requests

v1.0.10 (2022-03-17)

  • Fixed an issue when merging the DataDome cookie with existing app cookies.

v1.0.9 (2022-02-22)

  • Fixed an issue with AsyncStorage

v1.0.8 (2022-02-14)

  • Fixed a referencing issue at the module index.

v1.0.7 (2022-02-11)

  • Fixed an issue with the event tracker.

v1.0.6 (2021-05-27)

  • Fixed a linking issue with Cocoapods.

v1.0.5 (2021-05-02)

  • Updated the dependency with async-storage

v1.0.4 (2020-12-28)

  • Fixed an issue related to cookie management.

v1.0.3 (2019-11-27)

  • Updated the name and configuration of the package

v1.0.1 (2019-11-20)

  • Initial release

Did this page help you?