android - Null User Id's recorded by firebase -


we linking our firebase analytics data bigquery , upon analyzing found user id's null several users.

in scenarios can happen? , solution same.

the bad behavior when user_id property populated value. property user_id should null except if set explicitly call function:

if don't explicitly call setuserid, common, id should use in bigquery app_instance_id.

my advice: call setuserid once have logged in user (in facebook, google sign-in or whatever method offer). give cross-device id. if user not logged in, don't call it, , use app_instance_id id instead.

note app_instance_id change if user uninstall & reinstall app.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -