stratumauth / app

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

Save and restore settings #1199

Open JC-LGMS opened 4 days ago

JC-LGMS commented 4 days ago

Is your feature request related to a problem? Please describe. I migrated to Stratum from previous version, but my app settings weren't in my backup

Describe the solution you'd like I would like a way to save my apps settings

alabotski commented 20 hours ago

How move backup from Authenticator Pro to Stratum

When I use uri

I have such error

System.ArgumentNullException: ArgumentNull_Generic Arg_ParamName_Name, s
   at System.Text.Encoding.GetBytes(String )
   at System.Text.UTF8Encoding.UTF8EncodingSealed.GetBytes(String )
   at Stratum.Core.Generator.YandexOtp.GetSecretBytes(String , String )
   at Stratum.Core.Generator.YandexOtp..ctor(String , String )
   at Stratum.Core.Entity.Authenticator.GetCode(Int64 )
   at Stratum.Droid.Interface.Adapter.AuthenticatorListAdapter.UpdateTimeGeneratorCodeText(Authenticator auth, AuthenticatorListHolder holder, Int64 offset)
   at Stratum.Droid.Interface.Adapter.AuthenticatorListAdapter.OnBindViewHolder(ViewHolder viewHolder, Int32 position)
   at Stratum.Droid.Interface.Adapter.AuthenticatorListAdapter.OnBindViewHolder(ViewHolder viewHolder, Int32 position, IList`1 payloads)
   at AndroidX.RecyclerView.Widget.RecyclerView.Adapter.n_OnBindViewHolder_Landroidx_recyclerview_widget_RecyclerView_ViewHolder_ILjava_util_List_(IntPtr jnienv, IntPtr native__this, IntPtr native_holder, Int32 position, IntPtr native_payloads)
   at Android.Runtime.DynamicMethodNameCounter.1(IntPtr , IntPtr , IntPtr , Int32 , IntPtr )
alabotski commented 20 hours ago

@jamie-mh Yandex use latters instead digitals

Screenshot_20241020-072727