Consider developing Banking app. App should not run, if Magisk is installed on device.
AFAIK, your options are:
- Google SafetyNet (in deprecation already)
- Google Play Integrity API
- 3rd Party using Isolated Process check (com.darvin.security)
AFAIK, Magisk v27 is able to bypass also above methods:
- https://github.com/kdrag0n/safetynet-fix
- https://github.com/chiteroman/PlayIntegrityFix
- https://github.com/darvincisec/DetectMagiskHide/issues/5
Is the working method currenly?