Commit Graph

10 Commits

Author SHA1 Message Date
João Victor
3c39dc0b8c migrate userChangedLocalSettings 2024-01-30 10:03:11 -03:00
Arthurk12
8312e235f8 fix(wake-lock): remove the activation notification
Removes the activation notification for the wake lock to reduce visual noise.
2023-08-23 10:06:33 -03:00
Arthurk12
c52a35834e feat(wake-lock): enable implicit activation based on the default setting
This commit removes the wake lock activation toast along with the
enable/disable buttons, implementing the wake lock implicit activation
behavior. The wake lock feature is implicitly activated if the
`defaultSettings.application.wakeLock` in the `settings.yml` file is set
true. For mobile devices that do not support the API or fail when
requesting a wake lock, toasts are raised explaining that calls will be
dropped when the screen turns off.

In cases where `defaultSettings.application.wakeLock` is set false, users
can enable the wake lock manually through the settings menu.
2023-08-11 17:42:20 -03:00
Arthurk12
7b57565fc5 fix(wake-lock): settings attribute name 2023-07-26 17:38:34 -03:00
Arthurk12
5d1611811a fix(wake lock): change request return value
Wake lock request function returns a boolean indicating whether there was an
error or not.
2023-06-14 13:38:06 -03:00
Arthurk12
602f2e01f8 fix(wake-lock): call wake lock instance method 2023-06-14 13:38:06 -03:00
Arthurk12
e5aa8cb0e0 refactor(wake-lock): change settings flags
Changes enableWakeLock => wakeLock.enabled to follow the pattern used by
other features and wakeLockEnabled => wakeLock. Also make the necessary
code changes to reference this new settings flags correctly.
2023-06-14 13:38:00 -03:00
Arthurk12
72eee8aa92 refactor(wake-lock): better button names 2023-06-14 12:53:44 -03:00
Arthurk12
1fda572d0a fix(layout): wake lock toast
Prevent wake lock toast from being displayed over the audio modal.
2023-06-13 16:22:03 -03:00
Arthurk12
f880e56a1e feat(wake-lock): prototype
Adds wake lock feature, which is available only for mobile users using
browser with support to the given API.
When an user using a supported device joins the meeting, a toast is
displayed offering to activate the feature.
Adds a toggle under settings menu to activate/deactivate it.
2023-06-13 16:22:02 -03:00