Ignore certain errors for Replay sampling: beforeErrorSampling for React Native Mobile Replay
Description
Offer the same option on Mobile Replay as seen for JS: https://docs.sentry.io/platforms/javascript/session-replay/understanding-sessions/#ignore-certain-errors-for-error-sampling
This is becoming a big problem for us since we enabled React Native replays. We don't need 17k replays of the same error, but we do need to track that the error happened 17k times so we know what to prioritize. We hit our replay quota, and now we don't have replays left for other errors.
The ideal state would be Sentry being able to drop replays on the server side. This could be manually triggered via a "Pause Replays" button when viewing an error, or even better would be dynamically dropping errors so that Sentry only collects a useful number for each error and no more.