Users of the "Say, Pi" application on mobile devices (specifically Android) have reported that the application stops responding when the device's screen locks or goes dark. This issue interrupts continuous voice interaction, which is a core feature of our application. The goal of this enhancement is to find a solution that keeps the screen awake during active voice interaction sessions, specifically targeting Chrome-like browsers for now.
Expected Behavior
The application should prevent the device's screen from locking while the user is actively interacting with "Say, Pi". This will ensure uninterrupted voice interaction, enhancing the overall user experience.
Current Workarounds
Users manually adjust their screen timeout settings, which is not an ideal solution.
Proposed Solution
Investigate and implement a more robust solution that can keep the screen awake during active usage of "Say, Pi". In particular, a web API-based solution (like the Wake Lock API) is a good starting point, especially while a native app approach is out of reach without a public api.
Additional Context
This enhancement request is based on user feedback, specifically highlighting the need for a seamless, hands-free experience. Addressing this issue will significantly improve the usability of "Say, Pi" for our mobile users.
Next Steps
Research potential solution using web API.
Test the implementation across Chrome-like browsers on Android and desktop.
Ensure graceful fallback for other browsers and the userscript
Users of the "Say, Pi" application on mobile devices (specifically Android) have reported that the application stops responding when the device's screen locks or goes dark. This issue interrupts continuous voice interaction, which is a core feature of our application. The goal of this enhancement is to find a solution that keeps the screen awake during active voice interaction sessions, specifically targeting Chrome-like browsers for now.
Expected Behavior
The application should prevent the device's screen from locking while the user is actively interacting with "Say, Pi". This will ensure uninterrupted voice interaction, enhancing the overall user experience.
Current Workarounds
Proposed Solution
Investigate and implement a more robust solution that can keep the screen awake during active usage of "Say, Pi". In particular, a web API-based solution (like the Wake Lock API) is a good starting point, especially while a native app approach is out of reach without a public api.
Additional Context
This enhancement request is based on user feedback, specifically highlighting the need for a seamless, hands-free experience. Addressing this issue will significantly improve the usability of "Say, Pi" for our mobile users.
Next Steps