We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IFrame API command showNotification code and documentation says that it has info type, but it does not. Got an error trying too use it.
showNotification
info
<button onclick="api.executeCommand('showNotification', { title: 'Notification Title ', description: 'Notification - info - short', uid: 'uid00001', type: 'info', timeout: 'short' })">Notification Test</button>
131.0.6778.265
[modules/API/API.js] <show-notification>: Invalid notification type "info". Expecting one of error,normal,success,warning r @ Logger.js:155 show-notification @ API.js:610 (anônimo) @ API.js:890 (anônimo) @ Transport.js:128 emit @ Transport.js:127 _onMessageReceived @ Transport.js:98 (anônimo) @ PostMessageTransportBackend.js:43 p @ postis.js:57
Documentation: https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-iframe-commands#shownotification
Code:
jitsi-meet/react/features/notifications/constants.ts
Line 26 in 9846228
The text was updated successfully, but these errors were encountered:
Can you create a PR against https://github.com/jitsi/handbook? Thanks.
Sorry, something went wrong.
Sure! The comments in API.js could also be changed imho.
API.js
jitsi-meet/modules/API/API.js
Line 593 in 9846228
PRs created.
handbook - jitsi/handbook#555 jitsi-meet - #15504
No branches or pull requests
What happened?
IFrame API command
showNotification
code and documentation says that it hasinfo
type, but it does not. Got an error trying too use it.Platform
Browser / app / sdk version
131.0.6778.265
Relevant log output
Reproducibility
More details?
Documentation:
https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-iframe-commands#shownotification
Code:
jitsi-meet/react/features/notifications/constants.ts
Line 26 in 9846228
The text was updated successfully, but these errors were encountered: