Hello @almeidapablo
Not sure what videos you have seen, but below are some guides to secure your Firebase from unauthorized access
Also, there was an old extension called HackProtect(not sure if there is recently updated version present) by @cian which is able to detect if the user has a rooted device or is ADB enabled or detect any emulator if user is using any. It also offers many other methods through which we can make our app more secure
Link
These are some ways which I can suggest to increase the security of your app but I also know that there are some malicious minds who just keep on finding new ways to use our apps in an unauthorised manner and trouble us and that is really disappointing