LiskArchive/lisk-mobile

Some blocking IO operations are not handled with loaders

Closed this issue · 1 comments

Expected behavior

All blocking IO operations should show a loading UI to the user while they block the UI.

Actual behavior

For some use cases (e.g Settings => Security => Biometric enable) we are not letting know the user that a blocking IO operation is happening.

Which version(s) does this affect? (Environment, OS, etc...)

3.0.0.

After verifying all over the app, I find out that all blocking IO states are being handled in the UI via loading skeletons or loading spinners.

For the specific case reported (Settings => Security => Biometric enable), the loading UI is being shown, but since the blocking IO is too short, sometimes seems that the loading spinner is not shown. Bellow the evidence:

Simulator Screenshot - iPhone 14 Pro Max - 2023-11-01 at 14 51 00

Simulator.Screen.Recording.-.iPhone.14.Pro.Max.-.2023-11-01.at.14.49.47.mp4

Based on the above, I'm closing the issue.