There are several problems about version detection:
First of all, su -V should return a version number (same for -v?)
libsuperuser, which I assume most apps use, sets up the context only if su -V says SUPERUSER
Luckily for us, it only do a contains() so we can tell we do SUPERUSER
Some apps, like FlashFire do the check by themselves. Same trick can be applied as well.
There are several problems about version detection: