I solved it with a new audience in the Firebase Console with a filter:
Custom Properties / Application Store + "does not contain" + "manual_install"
I realized that all direct installation of applications, as well as all installations of Firebase Test Lab fall into this parameter.
If you want to delete only a few users, you can add this filter (did not try):
User Properties / User ID + "not equal" (or "does not contain") + your_ID
This only works in Firebase Analytics and only with events that occurred after the audience was created.
For BigQuery, I use the following query to exclude test devices:
SELECT user_dim.user_id AS userId, FORMAT_UTC_USEC(user_dim.first_open_timestamp_micros) AS tsFirstOpen, user_dim.device_info.device_category AS dCaterogy, user_dim.device_info.mobile_brand_name AS dBrand, user_dim.device_info.device_model AS dModel2, user_dim.device_info.platform_version AS dOSver, user_dim.device_info.user_default_language AS dDefLanguage, user_dim.geo_info.continent AS geoCont, user_dim.geo_info.country AS geoCounty, user_dim.app_info.app_version AS appVer, FROM TABLE_DATE_RANGE(YOUR_TABLE_NAME.app_events_, TIMESTAMP('2016-06-23'), TIMESTAMP('2016-10-01')) WHERE // Remove all testing devices NOT (user_dim.user_id == "YOUR_USER_ID" OR user_dim.user_id == "YOUR_USER_ID") AND NOT user_dim.app_info.app_store == "manual_install" AND user_dim.user_properties.key == "first_open_time" GROUP BY tsFirstOpen, userId, dCaterogy, dBrand, dModel2, dOSver, dDefLanguage, geoCont, geoCounty, appVer ORDER BY appVer DESC, tsFirstOpen DESC
source share