Closed denisfrench closed 1 day ago
This is a real problem, since there is no API call to remove the toast. The showToast() documentation gives no additional call to remove it, precisely because the toast is supposed to have its own timeout. So the only recourse we have it to not show confirmation via a toast at all, for all devices for all users.
Do other applications using toasts behave the same way on your watch?
I'm not sure if this actually tests the toast function, but message and GPS notifications do disappear quickly within the native run app.
If this isn't a valid test, could you point me to an app I can properly test the toast function with?
Sounds like a valid test. On a Venu 2 inside the GHA App, a 'toast' can take 15 seconds to dissappear.
So the options are:
In the meantime I have amended the documentation at https://github.com/house-of-abbey/GarminHomeAssistant/blob/main/README.md#tap-item-response.
Fair enough; thanks for investigating anyway 🙂
Describe the bug The readme (https://github.com/house-of-abbey/GarminHomeAssistant?tab=readme-ov-file#tap-item-response) states the tap item confirmation toast will disappear after a short while if not dismissed by the user, however it seems to remain unless a button is pressed.
IMPORTANT! I have:
To Reproduce Steps to reproduce the behavior:
Expected behavior The toast should disappear promptly, rather than adding to the required button presses to exit the app (currently 3 presses).
Screenshots N/A
Garmin Device (please complete the following information):
Smartphone (please complete the following information):
Additional context The great utility of this watch app is to switch simple entities very quickly without reaching for your phone. Any increase in delay or button presses detracts from this; I suggest the toast really only needs to remain for 1-2s.
Thanks for your work on this awesome app 😀