it’s likely the app is using something as rootbeer, that detects the -userdebug builds of the “dev” release channel as having potentially root, as userdebug allows to have adb root optionally, this is what it trips on I speculate.
The DivestOS author participated (DivestOS vs. /e/ OS - security and privacy easy - #83 by SkewedZeppelin) in a thread in this forum and suggested as much to switch to -user release builds. I think the stable release channel has them, could be mistaken. You can again use software like magisk to hide settings that software like rootbeer detects.