Fix analytics in native build
parent
f7d2a8935c
commit
d375a45859
|
@ -7,7 +7,7 @@ const segmentClient = createClient({
|
||||||
writeKey: '8I6DsgfiSLuoONyaunGoiQM7A6y2ybdI',
|
writeKey: '8I6DsgfiSLuoONyaunGoiQM7A6y2ybdI',
|
||||||
trackAppLifecycleEvents: false,
|
trackAppLifecycleEvents: false,
|
||||||
})
|
})
|
||||||
export const track = segmentClient.track
|
export const track = segmentClient.track.bind(segmentClient)
|
||||||
|
|
||||||
export {useAnalytics} from '@segment/analytics-react-native'
|
export {useAnalytics} from '@segment/analytics-react-native'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue