'Flutter add a Panic button for Deleting App for himself, as Cleaning all Datas and

I want to add a Panic button in my Flutter App, if i hold 3 Seconds (on Volume Down button or Up - Power it doesnt matter), the app will be completely uninstalled. I tried this with Automate App but its not supporting to the Uninstall method. I can use the Hardware buttons , but how i can use the Uninstalling Command in Flutter without Root ? Thanks for all Respons,

here some Links which i test but doesnt work.

https://f-droid.org/en/2019/06/15/panic-app-uninstall-and-repo-reset.html



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source