React native Snowplow TVOS

I am trying to integrate snowplow for React native TVOS .
It is not autolinking after install and also I am getting this error when calling createTracker :slight_smile:
LogBox.js:173 SnowplowTracker:createTracker: Cannot read properties of undefined (reading ‘createTracker’).

const snowplowTracker = await createTracker(
RN_${Config.SNOWPLOW_APPID},
{
endpoint: Config.SNOWPLOW_ENDPOINT,
},
{
trackerConfig: {
appId: ${Config.SNOWPLOW_APPID}_${Platform.OS},
devicePlatform: ‘mob’,
},
}
);

Are you able to share the full snippet including your import?

Unfortunately, we haven’t investigated support for the TVOS fork of React Native in the React Native tracker yet. I created an issue for us to look into it and add support for TVOS. We will also keep this thread updated as we learn more about it.

1 Like

Thank you

We have just released version 1.2.0 of the React Native tracker that also includes support for tvOS. Sorry for the delay, hope it helps!

1 Like