Is there an update on this? The recording event is not triggered. For me, I am following this guide Add calling capabilities to your React app with Zoom Phone Smart Embed - Part 2 . Here is the snippet
useEffect(() => {
const handleEvent = (event: MessageEvent) => {
const eventType = event.data?.type;
if (isValidEventType(eventType)) {
setLogs((prevLogs) => \[
...prevLogs,
{
eventType,
data: event.data,
id: Date.now(),
},
\]);
} else {
console.log(eventType);
}
};
window.addEventListener("message", handleEvent);
return () => window.removeEventListener("message", handleEvent);
},[])
it is pretty similar to the guide. The is valid event type array has all the events like this [“zp-call-ringing-event”, “zp-call-connected-event”, “zp-call-ended-event”, “zp-call-log-completed-event”, “zp-call-recording-completed-event”, “zp-call-voicemail-received-event”, “zp-sms-log-event”, “zp-save-log-event”]. Need a fix asap as it is blocking our process.
Thank you for your help.