Skip to content

Conversation

@dustinbyrne
Copy link
Contributor

@dustinbyrne dustinbyrne commented Sep 25, 2025

ReadableMap raises a com.facebook.react.bridge.NoSuchKeyException when attempting to read a key that does not exist. This change avoids raising the exception by providing default values.

These keys are always provided downstream (at least in posthog-react-native), so this really only affects the examples.

ReadableMap raises a com.facebook.react.bridge.NoSuchKeyException when
attempting to read a key that does not exist. This change avoids raising
the exception by providing default values.
@dustinbyrne dustinbyrne requested a review from a team September 25, 2025 00:48
@marandaneto
Copy link
Member

check the https://github.com/PostHog/posthog-react-native-session-replay/blob/main/RELEASING.md
you need to add the changelog etc

@dustinbyrne
Copy link
Contributor Author

Thanks again @marandaneto

@dustinbyrne dustinbyrne merged commit 927168c into main Oct 1, 2025
11 checks passed
@dustinbyrne dustinbyrne deleted the fix/start-key-error branch October 1, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants