When Firebase Authentication is run in an emulator, the following error is triggered:
This app is not authorized to use Firebase Authentication. Please verify that the correct package name and SHA-1 are configured in the Firebase Console.
How does Firebase detect if an emulator is being used?
EDIT: I'm meant to refer specifically to phone auth.