Fuse Community

Uno - Calling Emit("eventname", "payload") from external Objective-C file

Hi @mortend,

I got an external Objective-C file and I need to fire an event all the way to JS, the problem I’m having is that the NativeEventEmitterModule.Emit() function is not static, and so calling functions from an Objective-C file all the way to JS calls them statically which doesn’t work, any ideas around this? :thinking:

Figured it out! :smiley: For anyone else that will have this issue, I ended up following something similar to Fuse.LocalNotifications: