Zoom App, React, Node, Firebase
Description
When calling configureZoomSdk(), I’m getting: “config took longer than 10000ms to respond” when testing from macos Sonoma (14.3 (23D56)). I’m testing on a macbook pro max m3. I run Windows 11 (in parallels) and everything runs fine. I have also tested on a Dell laptop and no issues. I’m guessing it’s the ‘webkit’ in macos/safari or perhaps a security setting that I am not aware of?
Error?
“config took longer than 10000ms to respond”
Troubleshooting Routes
I have tried to reduce scopes just to “getRunningContext” within configureSdk() and still have same issue.
How To Reproduce
I am able to consistently reproduce on every load.
code:
useEffect(() => {
console.debug(‘configureSdk fired’)
const configureSdk = async () => {
try {
const configResponse = await zoomSdk.config(
{
capabilities: [
// 'getMeetingUUID',
// "getSupportedjsApis",
"getRunningContext",
// "getMeetingContext",
// "getMeetingParticipants",
// "getMeetingJoinUrl",
// "getAppContext",
//Events
// "onParticipantChange",
// "onRunningContextChange",
// in-client api and event
// "authorize",
// "onAuthorized",
// "getUserContext"
]
})
setRunningContext(configResponse.runningContext)
setUserContext(configResponse.auth.status)
console.debug('Zoom JS SDK Configuration', configResponse)
}
catch (e) {
console.error(e)
setSdkConfigured(false)
}
}
configureSdk()
.then(() => {
setSdkConfigured(true)
console.debug("zoom sdk configured")
})
.catch((error) => console.error('Zoom SDK Configuration', error))
}, [zoomSdk, setRunningContext, setUserContext, setSdkConfigured])
return { runningContext, userContext, sdkConfigured }
}
This runs in a useConfigureZoomSdk react hook.