posthog-js icon indicating copy to clipboard operation
posthog-js copied to clipboard

Session replay support for RN Web

Open marandaneto opened this issue 1 year ago • 10 comments

Description

https://posthog.com/questions/session-replay-react-native-web https://github.com/necolas/react-native-web

marandaneto avatar Oct 02 '24 12:10 marandaneto

Up

tiagodalink avatar Oct 02 '24 19:10 tiagodalink

Up

Erickzao avatar Oct 02 '24 19:10 Erickzao

Also interested :)

In the meantime, is there another way to get session recording working on web?

matheusbaumgart avatar Nov 07 '24 05:11 matheusbaumgart

Also interested :)

In the meantime, is there another way to get session recording working on web?

You can try using the JS SDK for session replay on RN Web, but I'm not sure it'll work; this has not been tested.

marandaneto avatar Nov 07 '24 09:11 marandaneto

@marandaneto Does the reactnative sdk works on rn-web as well?

agrittiwari avatar Dec 23 '24 07:12 agrittiwari

@marandaneto Does the reactnative sdk works on rn-web as well?

Yes

marandaneto avatar Dec 23 '24 10:12 marandaneto

+1 https://posthoghelp.zendesk.com/agent/tickets/37340

slshults avatar Sep 08 '25 19:09 slshults

+1 vote for this we're going to have to implement web just to get recordings working for our app which we're building for both native and web

matt-byers avatar Oct 02 '25 23:10 matt-byers

Up

rozhkovs avatar Nov 15 '25 11:11 rozhkovs

I've heard from people that if you use the JS SDK, which has session replay support for Web on your React Native web app, it works. You probably need to initialize the SDK conditionally: if it's a mobile app or desktop, use the React Native SDK; otherwise, use the JS SDK.

marandaneto avatar Nov 18 '25 10:11 marandaneto