Roku OS 13 introduced a new endpoint that allows determination of all necessary app states for sideloaded apps or those released using the same dev ID 🎉.
const state = await driver.queryAppState('dev');
// `0` is not installed.
// `1` is not running.
// `2` is running in background or suspended.
// `3` is running in background.
// `4` is running in foreground.
Roku OS 13 introduced a new endpoint that allows determination of all necessary app states for sideloaded apps or those released using the same dev ID 🎉.