How to detect when the app is force destroyed using the app button (Android)

I know this is a react-native specific but I cannot manage to post an issue on the community so here is my only hope … I am using AppState to handle different states of my app but it seems that there is a single state that AppState didn’t manage to detect which is pressing the apps button on my Samsung Galaxy S6 Edge to get the currently opened apps and then destroying them. So my problem is that I need to keep track of the user’s activity on the app so I need to do some operation the moment he/she destroys the app that way. so any suggestions ?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.