This PR addresses the issue where the EventDispatcher on Android implementation could potentially receive null data from the NavViewEventgetEventData() method, leading to crashes in specific cases (such as during the onMapReady event).
Changes:
Updated getEventData() in NavViewEvent to return an empty WritableMap when eventData is null.
[x] Tests pass
[x] Appropriate changes to documentation are included in the PR
Fixes #252
This PR addresses the issue where the
EventDispatcher
on Android implementation could potentially receive null data from theNavViewEvent
getEventData()
method, leading to crashes in specific cases (such as during theonMapReady
event).Changes: Updated getEventData() in NavViewEvent to return an empty WritableMap when eventData is null.