简体   繁体   中英

Connect to multiple accounts

I am planning to make a locator app in android java language. What I want to know is, how can I connect multiple accounts to the main/admin account so that I can track them? I want to have the options of adding the other accounts through sending digit codes to the email address and phone number.

I want to know what specific classes, libraries or any other ways needed for that.

Thank you....

If you're using Firebase's Firestore then simply add the user's Uid to admins document in a String array considering that you have a structure like Users (collection) > Uid (document).

Similarly, every user should have a unique code that can be sent from admin to the user that has to be added and a mechanism to prevent unknown users from getting added to admins location array.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM