Skip to content
pugdocs

React Native SDK

@pug-sh/react-native tracks React Native and Expo apps on Pug's native Android and iOS SDKs, with app lifecycle, installs and screen views captured automatically.

SDKs

New

  • The React Native SDK, @pug-sh/react-native on npm, tracks React Native 0.83+ apps on the New Architecture, bare or Expo with a development build.
  • It runs on Pug’s native Android and iOS SDKs, so it records app opens and closes, installs and updates, keeps unsent events on the device through restarts and bad networks, and handles sessions and consent the same way.
  • Screens come from your navigator: trackNavigation for React Navigation, or screen with Expo Router’s segments. track is typed for 118 well-known events, and useTrackingConsent drives a consent banner.

Type to search...

↑↓ navigate↵ selectEsc close