LG WebOS 3.0 TV App Exit Button Close App and

user2326737 picture user2326737 · Mar 13, 2017 · Viewed 12.6k times · Source

I am developing a TV app for LG 4K TVs in webOS 3.0.

self_evaluation_checklist_3.4.xlsx lists a requirement for Exit button behavior as below.

"For webOS 3.0, pressing the EXIT button the app is completely closed and does not remain on the Recent list."

I have been searching but I haven't had any luck finding the API call to close the app completely and also removes the app from the Recent list.

All I could find is webOS.platformBack(); but that only takes back to the Home screen of the TV and doesn't close the app.

How can I close the app completely and don't list the app in the Recent list?

Answer

LadyBo picture LadyBo · Mar 17, 2017

This is correct method ( webOS.platformBack(); ). At least our app uses the same method for all 3 generations of WebOS and has never been declined by LG QA Center for this.