# onMeeting Event isn't firing

**URL:** <https://devforum.zoom.us/t/onmeeting-event-isnt-firing/68161>\
**Category:** Web\
**Created:** [April 27, 2022, 12:07am UTC](https://devforum.zoom.us/t/onmeeting-event-isnt-firing/68161 "2022-04-27T00:07:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![profZoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/profzoom/32/37223_2.png) [@profZoom](https://devforum.zoom.us/u/profZoom)\
**Post date:** [April 27, 2022, 12:07am UTC](https://devforum.zoom.us/t/onmeeting-event-isnt-firing/68161/1 "2022-04-27T00:07:15Z")

</div>

I’m trying to add event listeners to a React-based app and while I’ve been able to get `onReaction` to fire with the following code;

```auto
useEffect(() => {
    const handleMeetingReact = (eventInfo) => {
      console.log(eventInfo.type);
      window.localStorage.setItem(`${eventInfo.screenName} REACTED`, eventInfo.type);
    };

    zoomSdk?.addEventListener('onReaction', handleMeetingReact);

    return () => {
      zoomSdk?.removeEventListener('onReaction', handleMeetingReact);
    };
  }, [zoomSdk]);

```

doing the same exact thing with `onMeeting` doesn’t trigger anything.

I’ve added a Scope to the app (`meeting:read`), `onMeeting` and `onReaction` under **Zoom App SDK** in the Features tab, and in made sure to add `onMeeting = 'onMeeting',` and `onReaction = 'onReaction',` to the capabilities property with `zoomSdkContextValue.zoomSdk.config()`

I have a feeling that I’m just missing some sort of setting or additional permission, but I’m not getting any error messages or other helpful information that might help me narrow this down. Thanks in advance

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [May 27, 2022, 10:08am UTC](https://devforum.zoom.us/t/onmeeting-event-isnt-firing/68161/2 "2022-05-27T10:08:03Z")

</div>

Closed on May 27, 2022, 10:08am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
