Skip to content

Releases: JoaoPauloCMarra/react-native-nitro-amplitude

v0.5.4

11 Jun 20:21
3bd53a1

Choose a tag to compare

Fixed

  • Added a package-owned Android manifest initializer so native context setup no longer requires generated MainApplication edits in Expo or bare React Native apps.
  • Tied Expo config plugin run-once metadata to the package version so plugin updates reapply after package upgrades.

Changed

  • Included CHANGELOG.md in the packed package docs.

v0.5.3

11 Jun 11:18

Choose a tag to compare

0.5.3 - 2026-06-11

Fixed

  • iOS HTTP worker waits are now bounded: requests that never complete are
    cancelled and reported as timeouts instead of permanently stalling the upload
    queue, and the URL session enforces a total resource timeout in addition to
    the idle timeout.
  • Android HTTP connection setup failures (invalid URL, connect errors during
    body write) are returned as structured results instead of escaping as
    exceptions across the JNI boundary.
  • Events now report this package's own SDK identity and version
    (amplitude-nitro-ts/<version>, experiment-nitro-ts/<version>) instead of
    stale upstream Amplitude SDK version strings.

Changed

  • Updated @amplitude/analytics-core to 2.49.0, picking up the React Native
    btoa fix.
  • HTTP request headers now cross the JS/native boundary as a typed
    Record<string, string> instead of a JSON string (native rebuild required).
  • The native context, storage, and HTTP worker now share a single platform
    adapter instance, and storage/worker report external memory usage to the JS
    garbage collector.
  • Android serves the default application context from the prefetched cache.

Added

  • getNativeStartupDiagnostics().legacyMigrationSupported reports whether
    legacy Amplitude SDK SQLite migration is available (currently false;
    migrateLegacyData logs a debug notice and restores no legacy data).
  • README documentation for the native architecture, the Android
    adid/appSetId privacy stance, offline usage with a connectivity listener,
    and typed Experiment variant payload access.

v0.5.2

10 Jun 18:02
f0ed9b2

Choose a tag to compare

Fixed

  • Disabled Amplitude Analytics console logging by default so transient transport
    failures do not flood React Native console capture tools such as Sentry.
  • Added sanitized transport failure diagnostics to getDiagnostics() for
    Analytics uploads and Experiment fetches without logging payloads or API keys.
  • Added safe diagnostics snapshots and surface-specific failure data so apps can
    distinguish Analytics uploads, Experiment variant fetches, and Experiment flag
    config fetches without logging identifiers.
  • Changed the default Experiment cache to durable Nitro storage so cached
    feature assignments survive transient fetch failures and app restarts.

v0.5.1

07 Jun 20:56
1a01992

Choose a tag to compare

Changes

  • Bump react-native-nitro-amplitude to 0.5.1.
  • Sync Expo/example SDK 56 patch dependencies and lockfile.
  • Keep the example smoke path focused on native context, analytics, storage, and Experiment factory behavior.

v0.5.0

23 May 23:00

Choose a tag to compare

Changes

  • Bump react-native-nitro-amplitude to 0.5.0 and document the current release surface in README and CHANGELOG.
  • Add Nitro-first Analytics defaults, durable storage presets, combined client helpers, diagnostics, health checks, dry-run controls, and timing utilities.
  • Add Experiment fetch metadata, variant metadata, cache helpers, typed variant helpers, request dedupe, and web-safe defaults.
  • Add browser fetch/storage fallbacks for root and compatibility entrypoints while keeping native Nitro bindings for iOS and Android.
  • Add example app controls for Analytics, Experiment, diagnostics, exposures, and separate HTTP/code timing output.
  • Harden native HTTP timeout normalization and package docs sync during pack dry-runs.
  • Expand unit, type-surface, benchmark, C++ and package preflight coverage for the new public API.

v0.2.0

22 May 19:38

Choose a tag to compare

Changes

  • Add web support for the root, Analytics, and Experiment entrypoints with browser fetch and storage fallbacks.
  • Fix Android background HTTP worker JNI class-loader handling for native requests.
  • Fix named Analytics connector identity sharing with matching named Experiment clients.
  • Update README, package README, badges, platform support, package metadata, CHANGELOG, and TypeScript type-surface tests for v0.2.0.
  • Remove the example app icon generation script and keep committed app icon assets as the source of truth.
  • Update release publishing to run from GitHub releases with manual dry-run recovery.
  • Stabilize example validation with Android SDK defaults and Maestro resolved-variant assertions.