언어 설정

Menu
Sites
Language
on app terminate/exit event

Is there a way to add an event on_terminate/exit app in the web app?

How to know the web app is terminated?

 

Similar to native: 

...

event_callback.terminate = _on_app_terminate;

...

 

thanks, slaw

 

 

답변 바로가기

Responses

2 댓글
Mark as answer
Armaan-Ul- Islam

Hello slaw,

May it would be good to have such functionality in web applications, but the application lifecycle and architecture of a Web applications is quite different from Native applications. I guess that's why we are not seeing similar alternatives. You may also check this post here: 

https://developer.tizen.org/ko/forums/web-application-development/how-get-event-related-appcycle?langredirect=1

May have to look for some workarounds.

Slawek Kowalski

Yes, you are right, its web app, I forgot. 'unload' event enough.