Referrals Feature Using Firebase — Android Tutorial

Firebase Referrals or Invites

Register Activity

Here we will create a activity which take Users Email, Name And Password and Parse then to ReferActivity (Below) , So for registration we will need two activity one for taking details and one for the refer code. The Below Code is of the ReferActivity where we get users details and then we put it into firebase Database. Below is the Firebase Database Table, we will create 4 Things

  • USER CODE (my_code)
  • POINTS (money)
  • UID (User ID)
Download This App To Check Refer Feature's Working

Refer Activity

Few Snapshot




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Harshil Patel

Harshil Patel

Software Developer and Technical Writer.