Browse docs

Jump to core topics without leaving the page.

React Native SDK

Track mobile events on iOS and Android with the React Native SDK.

The React Native SDK captures screen views, app lifecycle events, and custom actions across iOS and Android.

Best for

  • React Native apps on iOS and Android
  • Teams needing mobile usage insights
  • Apps that track offline activity

Install

Install the SDK and configure your client credentials.

Install FlashAnalytics

Initialize

import { fa } from '@flash-analytics/sdk';

fa.init({
  appId: 'YOUR_CLIENT_ID',
});

Track events

fa.track('screen_viewed', {
  screen: 'Checkout',
});

Offline support

Events are queued on the device and sent when connectivity returns, so you do not lose data during offline sessions.