Coder Social home page Coder Social logo

Comments (5)

jamie-mh avatar jamie-mh commented on August 16, 2024

Hi,

Thanks for the detailed report.
Can you try clearing and setting the app password before enabling biometric unlock?

Cheers

from authenticatorpro.

technodrome avatar technodrome commented on August 16, 2024

After doing that, the app is completely broken. I cannot even start it, it completely crashes with the following SQLite error which repeats upon every app start.

SQLite.SQLiteException: file is not a database
   at SQLite.SQLite3.Prepare2(sqlite3 , String )
   at SQLite.SQLiteCommand.Prepare()
   at SQLite.SQLiteCommand.<ExecuteDeferredQuery>d__121[[SQLite.SQLiteConnection.ColumnInfo, SQLite-net, Version=1.9.172.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
   at System.Collections.Generic.List1[[SQLite.SQLiteConnection.ColumnInfo, SQLite-net, Version=1.9.172.0, Culture=neutral, PublicKeyToken=null]]..ctor(IEnumerable1 )
   at System.Linq.Enumerable.ToList[ColumnInfo](IEnumerable1 )
   at SQLite.SQLiteCommand.ExecuteQuery[ColumnInfo]()
   at SQLite.SQLiteConnection.Query[ColumnInfo](String , Object[] )
   at SQLite.SQLiteConnection.GetTableInfo(String )
   at SQLite.SQLiteConnection.CreateTable(Type , CreateFlags )
   at SQLite.SQLiteConnection.CreateTable[Authenticator](CreateFlags )
   at SQLite.SQLiteAsyncConnection.<>c__DisplayClass36_01[[AuthenticatorPro.Core.Entity.Authenticator, AuthenticatorPro.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<CreateTableAsync>b__0(SQLiteConnectionWithLock conn)
   at SQLite.SQLiteAsyncConnection.<>c__DisplayClass33_01[[SQLite.CreateTableResult, SQLite-net, Version=1.9.172.0, Culture=neutral, PublicKeyToken=null]].<WriteAsync>b__0()
   at System.Threading.Tasks.Task`1[[SQLite.CreateTableResult, SQLite-net, Version=1.9.172.0, Culture=neutral, PublicKeyToken=null]].InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread )
--- End of stack trace from previous location ---
   at AuthenticatorPro.Droid.Database.MigrateAsync(Boolean firstLaunch)
   at AuthenticatorPro.Droid.Database.OpenAsync(String password, Origin origin)
   at AuthenticatorPro.Droid.Database.OpenAsync(String password, Origin origin)
   at AuthenticatorPro.Droid.Activity.MainActivity.OnResumeAsync()
   at AuthenticatorPro.Droid.Activity.AsyncActivity.OnResume()
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Android.App.SyncConDisplayClass2_0.<Post>bPost>b__0()
   at Java.Lang.Thread.RunnableImplementor.Run()
   at Java.Lang.IRunnableInvoker.n_Run(IntPtr jnienv, IntPtr native__this)
   at Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V(_JniMarshal_PP_V callback, IntPtr jnienv, IntPtr klazz)

from authenticatorpro.

technodrome avatar technodrome commented on August 16, 2024

Had to uninstall the app, reinstall and restore from backup. Lost all the settings. Upon fresh install, app works without SQLite or biometric unlock issues. Could be caused by version upgrade but it is definitely not user-friendly or smooth experience.

@jamie-mh I'll leave it up to you to close this if you do not want to investigate.

from authenticatorpro.

 avatar commented on August 16, 2024

It works for me using 1.25.1.

OS: One UI 6.0, based of Android 14 (Samsung)

from authenticatorpro.

theAkito avatar theAkito commented on August 16, 2024

For the sake of helping this issue, I tried it on my Android 11 based custom OS.
Works fine.

However, I just installed this app and didn't add any entries yet. Maybe some older update broke something earlier, which becomes only visible in rare scenarios?

At least, the following strongly suggests, this is the case.

Upon fresh install, app works without SQLite or biometric unlock issues.

@jamie-mh

Maybe add a warning to an FAQ or the README, so people are aware of such an issue, when upgrading from older versions? 🙂

from authenticatorpro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.