Kill/destroy the app with backbutton


I’m using fcm-plugin for push and it doesn’t handle the push if i exit it with back button and don’t kill the app in my “recent apps”.
So is there a way to kill/destroy the app? Handling the back button is not the matter, i want a way to kill the app process so i can receive the push AND handle the data comming from it.

Thanks eevryone.


No, it’s the mobile operating system that decides when to terminate an app, it’s not something you can control. If it’s an issue with the fcm-plugin it should probably be fixed in that project?


Yes it’s a plugin issue :frowning: have seen some ppl reporting this on the plugin github months agora, there was an update but nothing changed, i’ll open an issue and try another plugin for now.
Thank you