Skip to content

Conversation

KorotkovAlex
Copy link

In react-native 0.79 reject interface are changed. We should send NSString instead of NSException

@KorotkovAlex KorotkovAlex changed the title Send NString to a reject function instead of NSException Send NString to a reject function instead of NSException. React-Native 0.79 Jun 9, 2025
@jankosecki
Copy link

jankosecki commented Jun 10, 2025

I can confirm - reject on 0.79 bridgeless crashes the app if NSException is passed instead of NSString.
Changing to e.description has fixed it for me.

Also, API of reject has expected NSString for few years already so it means that the mapping layer has become stricter in 0.79 but merging it shouldn't cause any problems on older versions

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