-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
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
[BUG] Breaking change in the "Enabled Sounds" state due to AudioHelper change #178
Comments
Hey @kamalbennani thanks for reporting. We will take a look and consider your suggestion. |
Hi @charliesantos |
Hey @kamalbennani yes feel free to submit a PR and I will review. |
or sensitive account information (API keys, credentials, etc.) when reporting this issue.
Code to reproduce the issue:
This PR has introduced a breaking change making the enabledSounds state not persist when calling the
device.updateOptions
function.device.updateOptions
recreate a new Instance of the AudioHelper each time this method is called, and because now theenabledSounds
state is stored on the AudioHelper class, this state doesn't persist as it used to be.A simple solution, would be to pass the enabledSounds to the new AudioHelper instance before destroying the previous one.
What do you think?
The issue was introduced in v2.4.0
Software versions:
The text was updated successfully, but these errors were encountered: