rnmapbox / maps

A Mapbox react native module for creating custom maps
MIT License
2.28k stars 847 forks source link

fix: events in bridgeless mode #3656

Closed WoLewicki closed 1 month ago

WoLewicki commented 1 month ago

PR concerning New Architecture support in the library :tada:

We at Software Mansion have been working on improving support for the new architecture for quite a while now. If you need help with anything related to New Architecture, like:

or you just want to ask any questions, hit us up on projects@swmansion.com


Description

Fixes events on bridgeless mode on Android in new arch. The naming convention is more strict there and events have to follow the convention of on<Event> to top<Event> naming.

Checklist

Screenshot OR Video

Just run the example app on new arch now, I removed the bridgelessEnabled=false flag since bridgeless mode is the default and recommended option.

mfazekas commented 1 month ago

@WoLewicki amazing, thanks much for looking into it