Releases: JoaoPauloCMarra/react-native-nitro-amplitude
Releases · JoaoPauloCMarra/react-native-nitro-amplitude
v0.5.4
Fixed
- Added a package-owned Android manifest initializer so native context setup no longer requires generated
MainApplicationedits 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.mdin the packed package docs.
v0.5.3
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-coreto2.49.0, picking up the React Native
btoafix. - 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().legacyMigrationSupportedreports whether
legacy Amplitude SDK SQLite migration is available (currentlyfalse;
migrateLegacyDatalogs a debug notice and restores no legacy data).- README documentation for the native architecture, the Android
adid/appSetIdprivacy stance, offline usage with a connectivity listener,
and typed Experiment variant payload access.
v0.5.2
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
Changes
- Bump
react-native-nitro-amplitudeto0.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
Changes
- Bump
react-native-nitro-amplitudeto0.5.0and 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
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.