Skip to content

fix(android): Prevents Promise.reject crash with null arguments#1329

Merged
aliberski merged 1 commit intomasterfrom
promise-reject-crash
Feb 18, 2026
Merged

fix(android): Prevents Promise.reject crash with null arguments#1329
aliberski merged 1 commit intomasterfrom
promise-reject-crash

Conversation

@aliberski
Copy link
Collaborator

@aliberski aliberski commented Feb 17, 2026

Ensures that Promise.reject calls in the Android module do not crash when provided with null values for code or message. This is achieved by providing default values when null is passed, preventing unexpected behavior and improving the stability of the module.

This PR:

Ensures that `Promise.reject` calls in the Android module do not crash when provided with `null` values for code or message.
This is achieved by providing default values when `null` is passed, preventing unexpected behavior and improving the stability of the module.
@aliberski aliberski merged commit ef4ac13 into master Feb 18, 2026
9 checks passed
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