import Segment from'@redux-beacon/react-native-segment';import SegmentAnalytics from'@segment/analytics-react-native';// Create or import an events map.// See "getting started" pages for instructions.SegmentAnalytics.setup(writeKey, options);constAnalytics= SegmentAnalytics;constsegment=Segment();constsegmentMiddleware=createMiddleware(eventsMap, segment);
Don't see your event listed? Please submit a pull request to the Redux Beacon repository with the missing event. Use the source of the existing event-helpers to guide your work. If you need any support feel free to make the pull request with all you're able to do. We can fill in the gaps from there.