Oh. My. God. For me it was as simple as turning the developer options off. It sounded so stupid, that I never really thought of doing that. Thank you so much!it worked for me after i did that
1.erase phone data and back to original recovery.
2.Re flash TWRP recovery & magisk manager (don't install TWRP app)
don't install lucky patcher.
3.flash universal safetynet fix.zip using magisk or TWRP then reboot your device (i did using TWRP).
Optional.install EdXposed manager (you have to install Riru & EdXposed modules in magisk first).
4.open magisk manager and activate hide magisk from settings.
5.rename package name of magisk from settings in magisk manager to random name.
6.turn off developer options from phone settings (important)
7.install MacDonald's app (dont open it)
8.back to magisk manager then go to magisk hide and check for MacDonald's app to hide root from it.
open EdXposed manager and go for Xposed hide(black) and check for MacDonald's app.
that's it and it worked no root check failed
note: if the app shows an error in the future you have to uninstall any apps that Detects the presence of the root for other applications like lucky patcher ..etc & (some modded apps) also and turn off developer options then reboot your phone done.
yes.... just tried also magisk hide... but is always error