Apologies for my lack of research, i see it's a well known issue are there any plans on fixing it? Even going as far as setting bg limit to "no background processes" in Developer Options didn't fix the issue...
As for the shortcut, yes you can use the app "Activity Manager" from F-Droid. Once in the app:
- scroll down/search for the Settings app
- search for the activity "InstalledAppDetails" -> click the 3 dots on the right -> click on launch activity with params
- put inside data field: "package:com.facebook.orca" (for messenger, for any other app just check the name)
- make sure "Save to history" is checked and click on ✅
- then go back to the app and on the top-right is the history, click on the entry and click "Create shortcut"
- customize it and yeah
Now you can just replace the app's icon with this and quickly and almost convienietly disable/enable (and even launch it by clicking the top-right button)
Why it sucks anyways: the shortcut has to be on the main screen, if you launched the app via the "app drawer" like I did, now you have to have an additional icon take up space.
PLEASE does anybody have a real fix to the issue? Why is it impossible to forbid an app from running in the background via Developer Tools or anything? It's kinda not that deep but let's consider it a security issue 🫠