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

**URL:** <https://forums.fusetools.com/t/uno-calling-emit-eventname-payload-from-external-objective-c-file/7864>\
**Category:** How-to Discussions\
**Created:** [September 3, 2019, 3:25pm UTC](https://forums.fusetools.com/t/uno-calling-emit-eventname-payload-from-external-objective-c-file/7864 "2019-09-03T15:25:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aeq](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/aeq/32/129_2.png) [@aeq](https://forums.fusetools.com/u/aeq)\
**Post date:** [September 3, 2019, 3:25pm UTC](https://forums.fusetools.com/t/uno-calling-emit-eventname-payload-from-external-objective-c-file/7864/1 "2019-09-03T15:25:40Z")

</div>

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? 🤔

---

<div class="post-metadata">

**Author:** ![aeq](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/aeq/32/129_2.png) [@aeq](https://forums.fusetools.com/u/aeq)\
**Post date:** [September 4, 2019, 6:20am UTC](https://forums.fusetools.com/t/uno-calling-emit-eventname-payload-from-external-objective-c-file/7864/2 "2019-09-04T06:20:17Z")

</div>

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

> <https://github.com/fuse-open/fuselibs/blob/df9f2fa9289214ebdd37dad019c1646f813b2ade/Source/Fuse.LocalNotifications/iOS/AppDelegateLocalNotify.mm#L39>

> <https://github.com/fuse-open/fuselibs/blob/df9f2fa9289214ebdd37dad019c1646f813b2ade/Source/Fuse.LocalNotifications/JS.uno#L47>
