Android - Firebase - Different types of Users Login

后端 未结 2 1050
情话喂你
情话喂你 2020-12-28 09:53

Aim

Allow different types of Users to sign into their respective interfaces

Description

  • Types of Users (3)

相关标签:
2条回答
  • 2020-12-28 10:19
    • you need to take 1 more parameter as a type

    • In which if user's student login it is easily to differentiatable in database

    • you need to create database table according to your need


    Happy to help you

    0 讨论(0)
  • 2020-12-28 10:33

    All you need is a way to verify that the user is a Parent, Student, or Teacher when they first sign up for the app. After that you put a 'type' variable in their user info section of the Firebase Database (type = Parent, student or teacher). Then when they login, you retrieve their 'type'. And show the correct corresponding interface.

    0 讨论(0)
提交回复
热议问题