@anselm94
I am using a Samsung Galaxy S10+ running Android 11 with Samsung's OneUI Version 3.0.
When I try toggling the flashlight with the shortcut buttons ("Volume up & down for 3 seconds" or "Volume Up & Power Button"), it enables and disables Torchie's Accessibility Permission instead of the actual flashlight while the screen is on or on the lock screen. If the screen is turned off, the shortcut buttons work properly to turn on/off the flashlight.
I hope this bug can be solved but I do know that Android has become more Privacy secure and making these types of apps harder and harder to use on newer versions of Android.