Bug Description
1. Summary
After the Vega device has been operational for 30 minutes or so, the AccessibilityInfo service stops reporting the screenReaderChanged event. restarting the vega device will cause to begin reporting events again, and then will fail once again. We are using the [back and menu] shortcut to toggle readout in the app
Note
The voice view service does respect the setting and will announce the state change, but it is not reported to that event listener
App Name:
not submitted
Bug Severity
Select one that applies
- [ ] Impacts operation of app
- Blocks current development
- Improvement suggestion
- Issue with documentation (If selected, please share the doc link and describe the issue)
- Other
2. Steps to Reproduce
run vega for 30 minutes or so
3. Observed Behavior
event not firing
4. Expected Behavior
event will always fire
4.a Possible Root Cause & Temporary Workaround
OS problem. I have added a flag in our app to always send speak events regardless of OS reported status. calling AccessibilityInfo.announceForAccessibilityWithOptions while voice view is turned off will not read the provided string, so thats good
5. Logs or crash report
none
6. Environment
Please fill out the fields related to your bug below:
- SDK Version: vega 0.22
- App State:
foreground - OS Information
Os 1.1
7. Example Code Snippet / Screenshots / Screengrabs
Include any relevant code or component setup in React Native that can help reproduce the bug.
static registerScreenReaderChanged() {
console.log('xx registers tts listener'); // verify is setting the listener
AccessibilityInfo.addEventListener(
'screenReaderChanged',
(enabled) => {
console.log('\txx on change', enabled); // this will stop reading out
Messenger.postSystemEvent(true, NativeRpcEvent.setIsTTSEnabled, enabled);
},
);
}
Playback Issues
If this is a playback issue, please provide your content URL, any pre-conditions (like geo-location), and let us know if itβs x86 or arm7.
<!-- Describe your playback issue if applicable -->
Please share the following details in addition:_
- Player SDK:
[Bitmovin, Shaka, ...] - Player SDK Version:
[e.g. 1.23]- Audio Codecs:
[AAC, ...] - Video Codecs:
[h.264, mp4] - Manifest Types:
[m3u8, dash, etc ..]
- Audio Codecs:
Q: If applicable, please provide your media/content url
If this is created dynamically, tokenized, etc please provide a way for us to access it
[N/A or Content / Media Url for testing]
Q: Are there any special headers required to reproduce the issue you are facing?
[N/A or Insert Headers]
Additionally please provide the following if possible
Provide Screenshots / Screengrabs / Logs. Please include as much information as you can that will help debug.
<!-- Answer here if applicable -->
Additional Context
Any Additional Context you would like to provide?
Add any other relevant information, such as recent updates to the SDK, dependencies, or device OS that may affect the bug.
<!-- Answer here if applicable -->