@amplitude/plugin-session-replay-browser
does not support older Safari versions (<17)
#820
Labels
@amplitude/plugin-session-replay-browser
does not support older Safari versions (<17)
#820
Expected Behavior
It should load on older Safari browsers too (<16)
Current Behavior
It crashes with error
Here's a related SO post: https://stackoverflow.com/questions/51568821/works-in-chrome-but-breaks-in-safari-invalid-regular-expression-invalid-group
Possible Solution
Compile
rrweb
andrrweb-snapshot
properly in@amplitude/plugin-session-replay-browser
should fix the issue.Steps to Reproduce
Using
@amplitude/analytics-browser
,@amplitude/plugin-web-attribution-browser
, or@amplitude/experiment-js-client
causes no issues. When we use@amplitude/plugin-session-replay-browser
, it causes the problem.I boiled it down to the amplitude/rrweb dependency, which does not support older browser versions. You can see at https://browsersl.ist/#q=%22browserslist%22%3A+%5B%0A++%22defaults%22%2C%0A++%22not+op_mini+all%22%0A%5D that Safari <17 are not supported.
Environment
The text was updated successfully, but these errors were encountered: