jamie-mh / AuthenticatorPro

📱 Two-Factor Authentication (2FA) client for Android + Wear OS
https://authenticatorpro.jmh.me
GNU General Public License v3.0
2.98k stars 198 forks source link

Scanning QR code opens camera for just a second and then closes #1068

Open Streep opened 8 months ago

Streep commented 8 months ago

Describe the bug When I press "Scan a QR code" it opens the camera for just a second and then closes immediately, returning to the main app window.

Expected behavior To stay open and read a QR code.

App Version 1.24.0

Additional context Freshly installed app from F-Droid (IzzyDroid repo) on a Fairphone 5 (with Iodé ROM installed, Android 13). Camera otherwise works fine. I circumvented the issue by using a stand-alone QR scanner which easily opens the otpauth:// URL, after which AuthenticatorPro (registered for the that otpauth intent) immediately adds the entry to AuthenticatorPro.

jamie-mh commented 8 months ago

Hi @Streep ,

Can you please provide some debug information (Menu → About → About → Top right button). If there is an error, it should be logged here.

Thanks

Streep commented 8 months ago

The Debug log is empty unfortunately. Sometimes the app crashes completely. It seems like an error is caught which does not provide any error message for debugging. Maybe you can check if all errors are registered around the QR-code scan function? Then maybe in an updated version we might obtain better information.

I switched to /e/OS BTW, which exhibits the same problem, also with a fresh app without any stored data.

hirnchirurg commented 6 months ago

Have the same problem. The debuglog is empty.