React Native SDK ⁠-⁠ Tracking views

Tracker will listen to views appear/dissapear events on phone’s screen.

SDK exports ORAnalyticsView which you can use mark the important views/components.

import OR from '@openreplay/react-native'

// ... your app UI

  <OR.ORAnalyticsView
    screenName="Pay confirmation page"
    viewName="New fancy button"
  >
    <ImportantRedButton />
  </OR.ORAnalyticsView>

// ...