A proof-of-concept showing how you can show a notification at the moment your application just got killed, using native code.
The purpose of this repository is to illustrate and provide the full code source for this article:
Take a look at it to better understand this PoC.
Someone recently published a package to isolate the functionality: