zoomSdk.onThemeModeChange not working

Hi Zoom team. The event onThemeModeChange is not working. I get the following error:

“Property ‘onThemeModeChange’ does not exist on type ‘ZoomSdk’.”

I’m on the latest version 0.16.7 of @zoom/appssdk. I’ve added the “onThemeModeChange” capability within the call to config, and also enabled the event within the features tab of the app in the Zoom marketplace.

Is this event supposed to work? There is no mention of it in the docs at appssdk.zoom.us either. @MaxM

Hi,

We did not release this event in the SDK. This event is not supposed to work.

Thanks for the reply. It’s a little confusing since it’s listed as an event to enable in the marketplace. Is there an ETA on when/if this event will be available via the SDK? @MaxM

This event may or may not be released in the SDK. Would you try to use prefers-color-scheme media feature to detect theme changes? prefers-color-scheme - CSS: Cascading Style Sheets | MDN