If you have root on your phone, you can install GameGuardian into something like VirtualXposed (GameGuardian has a APK on their website), and then you can use it from there without being detected. If you don't, them I'm not sure if there's a way to use it without being detected.