How to prevent Firebase spam registrations with Google authentication?

I just released my Firebase based app on Google Play and using Flutter Firebase Auth package

I started noticing lots of spam registrations. How do I know they are spam? They do not create a user table that my app creates in Firebase on app launch, just an entry in the Firebase Authentication list, and their names follow the same pattern: What can be done to prevent these, but preserve the simplicty of Google social authentication?enter image description here

1 answer

  • answered 2020-10-16 04:51 Doug Stevenson

    Those accounts are probably being created by the pre-launch report the runs automatically after you publish an app. It will sign in users as part of its automated testing. This automated testing is generally a good thing for your app.

    There's nothing you can do to prevent these accounts from being created, unless you are able to opt out of the Play pre-launch report (which is powered by Firebase Test Lab). In that link, there is a section that talks about disabling the report.

    If you don't disable it, the best you can do is somehow figure out which ones you don't want, then delete them yourself.