Brief description
After two initial calls, the window.Twitch.ext.onContext() does not trigger on stream updates using the Android Twitch Application.
How to reproduce
Register a logging method for onContext() that logs context on screen, open the mobile extension, wait for a few seconds: while the iOS version of the Twitch app will fill your screen with onContext updates, the Android version will only log two lines.
Repro example
`mobile.html`
```
```
`mobile.js`
```
window.Twitch.ext.onContext(context => {
const now = new Date();
const logNode = document.createElement("div")
logNode.innerText = `[${now.toJSON()}] hls: ${context.hlsLatencyBroadcaster}, isPaused: ${context.isPaused}`;
document.getElementById("log").appendChild(logNode);
});
```
Expected behavioronContext callback should be regularly called on context updates (in my case, I want to get the hlsLatencyBroadcaster)
Brief description After two initial calls, the
window.Twitch.ext.onContext()
does not trigger on stream updates using the Android Twitch Application.How to reproduce Register a logging method for
onContext()
that logs context on screen, open the mobile extension, wait for a few seconds: while the iOS version of the Twitch app will fill your screen with onContext updates, the Android version will only log two lines.Repro example
`mobile.html` ``` ``` `mobile.js` ``` window.Twitch.ext.onContext(context => { const now = new Date(); const logNode = document.createElement("div") logNode.innerText = `[${now.toJSON()}] hls: ${context.hlsLatencyBroadcaster}, isPaused: ${context.isPaused}`; document.getElementById("log").appendChild(logNode); }); ```Expected behavior
onContext
callback should be regularly called on context updates (in my case, I want to get thehlsLatencyBroadcaster
)Screenshots
iOS
![24-09-08 18-10-27 0472](https://github.com/user-attachments/assets/cc4411bd-490a-426e-b626-ad4b6e9ec75e)Android
![Screenshot_20240908_181033_Twitch](https://github.com/user-attachments/assets/4360fd63-a750-4605-8de3-b5cb78f4b1eb)Additional context or questions Twitch App Version (both Android & iOS): 21.0.1