React Native, Eventemitter, Navigation, Turbo Module, Bridge.
define the “sendEvent” method that we will call from ReactNavPage.mm. Additionally, I added a UINavigationControllerDelegate extension to listen for navigation changes. The “willShow” method will be triggered every time a page changes in the navigation controller, and it will call the “sendEvent”