Skip to content

Conversation

@andresilveirah
Copy link
Member

EventEmitter<Object> seems to crash the application on certain Android API 34+. This PR refactors onAction and onError to use EventEmitter<string> instead.

The native bridges now first convert the payload to onAction and onError to a stringified json, the typescript code parses that json into the correct object and calls the respective callback function (onAction or onError).

@andresilveirah andresilveirah marked this pull request as ready for review August 22, 2025 17:36
@Nevazhnovu Nevazhnovu merged commit d773ed2 into main Aug 26, 2025
3 of 5 checks passed
@Nevazhnovu Nevazhnovu deleted the DIA-5988_fix_events_with_payload branch August 26, 2025 13:25
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.

3 participants