I have been looking for such a solution to detect any emulator,
I thought it is impossible but I wonder how a game on android like Pubg Mobile detects any kind of emulators?
any ideas so we can reach a similar approach
If you mean mobile games that prohibit the game from the desktop. I've seen several of these. I think the presence of imei is one of those checks. But that's definitely not all.