tiki-deprecated / app

TIKI DAO 🤫
MIT License
13 stars 6 forks source link

Use different Database for different users #476

Closed ricardobrg closed 2 years ago

ricardobrg commented 2 years ago

As a developer I need to ensure that each account database file has a unique name.

When the user changes the logged in TIKI account, the app tries to open the database with the new account private key, but it cannot be unencrypted because the key is different.

Acceptance criteria: 1 - Each account has its own unique database file. 2 - When login/logout the correct database is loaded with the specific cards and state.

mike-audi commented 2 years ago

@ricardobrg to encode the address as hex to ensure safe filename chars

ricardobrg commented 2 years ago

Simulator Screen Recording - iPhone 8 - 2022-05-16 at 17 56 22

ricardobrg commented 2 years ago

hex encoded filenames

Captura de Tela 2022-05-16 às 17 58 21