stratumauth / app

📱 Two-Factor Authentication (2FA) client for Android + Wear OS
https://stratumauth.com
GNU General Public License v3.0
3.14k stars 200 forks source link

App crash when opening from recents #1191

Open L3-N0X opened 1 month ago

L3-N0X commented 1 month ago

Describe the bug The app crashed after I accessed it again from the quickswitch (recents) menu. I already imported my old backup into the new version.

To Reproduce Steps to reproduce the behavior:

  1. Import from previous Version Backup
  2. Open the App again

Expected behavior App should open as normal

App Version New 1.0.1 Stratum Version

Additional context System.InvalidOperationException: Connection not open at Stratum.Droid.Database.GetConnectionAsync() at Stratum.Droid.Persistence.AsyncRepository`2.d4[[Stratum.Core.Entity.Category, Stratum.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext() at Stratum.Droid.Persistence.View.Impl.CategoryView.LoadFromPersistenceAsync() at Stratum.Droid.Interface.Fragment.MainMenuBottomSheet.OnViewCreated(View view, Bundle savedInstanceState) at System.Threading.Tasks.Task.<>c.b128_0(Object state) at Android.App.SyncContext.<>cDisplayClass2_0.b__0() at Java.Lang.Thread.RunnableImplementor.Run() at Java.Lang.IRunnableInvoker.n_Run(IntPtr jnienv, IntPtr nativethis) at Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V(_JniMarshal_PP_V callback, IntPtr jnienv, IntPtr klazz)