Callback for event `onSendAppInvitation` not benig called

Zoom Apps Configuration

  • Windows Zoom Client version 6.2.2 (47417)
  • Zoom App SDK version: 0.16.22

Description
Our app invitation flow stopped working sometime in the past two weeks. Digging into the issue we discovered the callback we registered using the SDK method onSendAppInivtation was not being called. We rely on such a method to properly share the app’s state with other participants in the Zoom meeting.

I poked around in our app and discovered the reason. The event triggered when an app invitation is sent changed names from sendAppInvitation as described in the official SDK documentation (look at the addEventListener section in the SDK docs) to onSendAppInivitation.

I verified this behavior by setting listeners to sendAppInvitation and onSendAppInivitation events using the addEventListener (SDK method. It is worth noting that the event name onSendAppInivitation is not mentioned anywhere in the documentation.

The onSendAppInivitation SDK method is broken because, under the hood, it is registering an event listener for sendAppInvitation. Relevant SDK code:

...
NativeEvents["ON_SEND_APP_INVITATION"] = "sendAppInvitation";
...

        ZoomSdk.prototype.onSendAppInvitation = function (handler) {
            this.addEventListener(NativeEvents.ON_SEND_APP_INVITATION, handler);
        };
...

I suspect the event name changed sometime in the last couple of weeks. However, it should be reverted to the expected name sendAppInvitation, as it is a breaking change.

How To Reproduce
Test any application whose app invitation flow relies on the onSendAppInvitation event.

The site prevented me from relevant links to the documentation. But you can look at the mentioned methods in the official SDK documentation.