How to handle force close event in ionic 2 app?

hi I am new on ionic 2
I want to hit service on force close
or
Any event arise for force close in ionic 2 application ?

Any plugin for force close event handling in ionic 2 app ?

or any think else so i can hit service on force close or kill app please

2 Likes

You mean “close();”?

force close means removing app from recent apps list …

1 Like

I think it’s not possible.

thanks for this. but i need a function in ionic 2 not in android . Is there any option or function in ionic 2 so we can capture event on forced close or killed by recent app list ???

1 Like

I think maybe there is a possibility by making use of a cordova plugin

You have to search in terms for “kill process” I think.

1 Like

thanks .@pixello i want to subscribe close event not function where i can close my app.
my problem is this. when user forced close or killed by recent app list then i want to listen or subscribe that event so i can hit a service .

2 Likes

Hi, @ vikramkakkar, did you find solution for this?