Local notification scheduling in hybrid app, when app about to kill


#1

Hi All
i have a scenario, when user kills the app, than i need to show some warning to him through local notification.
but i am stuck, finding the event in my ionic app, that gets executed when app is about to be killed in both android and ios.
if anybody can help me in finding out such event , to schedule local PN. i will be very thankful