Open nazrinharris opened 2 months ago
My guesstimation is that the app navigates to the MainScreen
before PecuniaDB
can truly initialize. Which I thought was fixed in an uncommited fix for #147, but it seems I am wrong.
But a little aha moment while writing, the initialization improvements are only from EntryScreen
so mayhaps perchance the problem lies in RegisterScreen
?
This is the error stack when I registered a new account right after a brand new install (so I uninstall first to remove all data). This is like shown in
MonthlyTxnModule
. It shows the gray box (would be red if in debug mode)There is also another different error, but likely the same issue. The same
MonthlyTxnModule
would show unknown error occurred, but at that point I don't really have the access to the debug. And it sometimes happen sometimes not.This is likely a race condition issue. I might need to rethink initialization.