Skip to content

React Native SDK Migration Guide

Comparison

This section provides a comparison between different version of SDKs. This overview provides key insights for developers, identifying areas that have significant changes and need careful consideration.

Note

While there are multiple versions of our SDK available, please use the latest version of the SDKs rather than maintenance SDKs. Maintenance versions only provide support and will eventually be deprecated. The latest SDK adopts an aligned architecture, with no extra dependencies, and offers enhanced stability for optimal performance.

Feature
Latest React Native SDK Maintenance React Native SDK
Package @amplitude/analytics-react-native @amplitude/react-native
Structure Mobile platforms (Android & iOS) utilize native app context modules for accessing system info, async storage for persistence. Wrapper of the iOS and Android SDK and Amplitude JavaScript SDK. Providing mappings from React Native to native SDK functions.
Supported platform iOS, Android, Web and Expo. iOS, Android, Web.
Configuration Configuration is implemented by Configuration object during initialize amplitude. More configurations. Support explicity setter methods. More configurations.
Storage Provider LocalStorage() by default, if not enabled, use MemoryStrogate(). Fully configurable. Depened on the Maintenance iOS, Maintenance Android and Maintenance Browser SDK storage.
Logger provider Amplitude Logger. Fully customizable. Depened on the native iOS, Android, Amplitude JavaScript logger provider.
Customization Plugins Middleware
Server Endpoint HTTP V2 API HTTP V1 API

Was this page helpful?