joeldavidw / Chronos

Chronos is an open-source two-factor authentication (2FA) app for iOS
https://apps.apple.com/app/chronos-authenticator/id6503929490
GNU Affero General Public License v3.0
18 stars 1 forks source link

[iOS 18] App crashes/closes whenever I scroll the list #47

Open marcosmoura opened 2 months ago

marcosmoura commented 2 months ago

I'm not sure if this is an issue with iOS 18 or if it happens on 17 as well.

This only happens when the "Tap to review" feature is off.

Steps to reproduce:

Also happens when:

My suspicion is that whenever the list refreshes the application crashes, but unfortunately I cannot debug and confirm this.

For me, this is a blocker to use, but I appreciate all of your work and have high hopes for the future of the app though! :)

joeldavidw commented 2 months ago

Does this still happen in the latest iOS beta (Developer Beta 4/Public Beta 2)?

marcosmoura commented 2 months ago

Yes, it is. Latest iOS 18 beta with latest Chronos version.

With the search feature, I can now use the app if instead of scrolling I just search.

joeldavidw commented 2 months ago

I was unable to replicate the issue, even with 100 mock tokens. However, I am working on optimization for the Token view, which may solve this problem.

joeldavidw commented 1 month ago

Hey @marcosmoura, v11.0 with the optimizations has been released. Could you test it out and see whether it is still crashing for you?

marcosmoura commented 1 week ago

@joeldavidw The issue still persists. Since iOS 18 is no longer in beta, it might be easier to test now. Let me know if you need more information to debug the issue.

marcosmoura commented 4 days ago

This also happens on the iPhone 16 and 16 pro

joeldavidw commented 1 day ago

I discovered a bug where tokens are being regenerated too frequently: https://github.com/joeldavidw/Chronos/pull/68. I’m still not certain if this will resolve the issue entirely.

Do you have any non-default tokens (e.g., duration other than 30 seconds, algorithm not equal to SHA-1)?

Could you also try:

  1. Export your current vault
  2. Verify that export works
  3. Start create a new vault and import https://gist.github.com/joeldavidw/dd3ab8cfbd58c0e3962642c661f5c4ae
  4. Verify if it still crashes