I am developing webos tv apps starting webos 6 and above using reactjs
how to force app restart? is it safe to use:
window.location.href = ‘file:///media/developer/apps/usr/palm/applications/appId/index.html’;
Please help
I tried window.location.reload(); I got black screen.
There is currently no API provided to turn the TV on or off, so the app cannot restart the TV. Thank you.
restart the app not the whole TV, this option is available inside Netflix app for example
Sorry for the confusion. There is currently no API provided to restart the app. Netflix is one of the premium app services, so the specifications may vary depending on the contract with LG. However, we do not disclose the details. For questions about LG partnership, please contact LG Seller Lounge > 1:1 Q&A > Partnership. Thank you.