DeFiCh / DeFiCh/defichain-app

App forces to create a new wallet almost every time, even when the wallet is configured.

Open
#1,244 2 comments 0 reactions 0 assignees View on GitHub
kind/bug needs/triage
Dominant language
TypeScript
Stars
152
Forks
55
PR merge metrics
No merged PRs in 30d

Description

#### Actual behavior:
When opening the app with multiple wallets (and deleted some old ones), the app opens on the screen for a new user. It forces the user to either create a new wallet or import an existing wallet.
Importing an existing wallet also fails if the wallet that one tries to import is already in the account.
Only work around is to create a new wallet and delete it right away which is a pain and repeat the process again if you close the app.

#### Expected behavior:
When opening the app there should be an option to bypass the welcome screen without creating a new wallet or importing an existing wallet.

#### How to reproduce it (as minimally and precisely as possible):

Not sure which steps led me to the current state (used to work before). So I will provide the steps I believe led me to it:
1- Create a wallet A (default)
2- Create 2 more wallets B & C
3- Delete C
4- Switch to B
5- Close the app
6- Open the app, it forces you to create a new wallet (and you cannot import A or B)

7- If you try to create a new wallet, it asks to create a PIN, it rejects the old pin so it forces you also to change your pin every time.
8- After creating the new wallet you will see your old wallets A,B and now D.

#### What are your environment parameters?

- DeFiCh/app Version: 1.51.0 (2233)
- Operating System (OS): Android
– RAM (GB):
– CPU (Intel Core i5/i7/etc.):
- Current free storage capacity:

#### Anything else we need to know?

I have fingerprint enabled.

Let me know if I can provide additional data

![Screenshot_20230213-183245](https://user-images.githubusercontent.com/125330410/218626345-f8452c41-95a1-4921-a038-7a0260576a1c.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.