Only session tracking is currently supported on React Native.
service: UpdateEndpointException - Thrown when the underlying Pinpoint service returns an error.
validation: AnalyticsValidationErrorCode - Thrown when the provided parameters or library configuration is incorrect.
Configures automatic event tracking for Pinpoint. This API will automatically transmit an analytic event when configured events are detected within your application. This can include: DOM element events (via the
eventtracker), session events (via thesessiontracker), and page view events (via thepageViewtracker).