How to set Gender User Property manually in Firebase Analytics?
<p>Firebase collects some user properties automatically but the question is, how does Firebase know what the user's gender is?</p>

<p>I tried to set them programmatically but it didn't help because there's no data about genders on the Firebase Console. In other word, setting predefined user properties programmatically could not be collected by Firebase.</p>

<pre><code>mFirebaseAnalytics.setUserId(Long.toString(user.id));
mFirebaseAnalytics.setUserProperty("Gender", user.sex);
mFirebaseAnalytics.setUserProperty("Age", Integer.toString(age.getYears()));
</code></pre>

<p><strong>Note:</strong> I'm using free plan and I waited for +24 hours to see the result.</p>