Skip to main content
Version: 3.2.0

User Info


This should be done as early as possible in your Main Activity for a seamless experience to your users.

To pass information we require related to the user, use the following:

Your Android App
new BharatXUserManager(this)  .phoneNumber("+911234567890")  .id("user-200")  .name("Andrey Breslav")  .gender("Male")  .dob("2016-02-05", "yyyy-MM-dd")  .age(20)  .address("20, Tech Street, Bengaluru")  .prop("customKey1", "customValue1")  .prop("customKey2", "customValue2")  .register();

If your servers use Phone Numbers as the User ID, you can pass it as both the phoneNumber and the id.