Fix analytics in native build

zio/stable
Paul Frazee 2023-02-27 11:08:01 -06:00
parent f7d2a8935c
commit d375a45859
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ const segmentClient = createClient({
writeKey: '8I6DsgfiSLuoONyaunGoiQM7A6y2ybdI',
trackAppLifecycleEvents: false,
})
export const track = segmentClient.track
export const track = segmentClient.track.bind(segmentClient)
export {useAnalytics} from '@segment/analytics-react-native'