Back

Multiple accounts in the same device

  • 1
  • Android
  • Accounts
ApatheticPotato
16 Feb, 2024, 16:27

Right now it seems that after creating the session Appwrite sdk stores it in sharedpref and account.get() returns the user by identifying the user from session.

However for my use case (a game you can play with multiple people physically) I need to be able to let multiple users log in the app and also access their respective account.get and other methods of the sdk. Can this be done with the current sdk?

TL;DR
Title: Multiple Accounts on Same Device Developers are unable to have multiple users log into the same app and access their respective accounts using the current SDK. They will need to manually make API calls and manage sessions.
Steven
16 Feb, 2024, 16:38

unfortunately, not. You'll need to manually make the API calls and manage the session

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more