Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Crash on new NFC scan #420

Open
OliNix opened this issue Jan 29, 2023 · 4 comments
Open

App Crash on new NFC scan #420

OliNix opened this issue Jan 29, 2023 · 4 comments

Comments

@OliNix
Copy link

OliNix commented Jan 29, 2023

When I scan a new Libre 2 sensor, the app crashes on the first scan. The second scan then connects successfully.

Procedure as follows:

  1. Select old sensor from Bluetooth list.
  2. Press disconnect
  3. Press “+” to add new sensor
  4. NFC scan
  5. App crash
  6. Quit app from switcher
  7. Relaunch app
  8. Press “+” in Bluetooth tab
  9. NFC scan
  10. Successful connection

Logs submitted via email

@OliNix
Copy link
Author

OliNix commented Jan 29, 2023

Crash re-creatable on sensor disconnect and reconnect also. Does not have to be new sensor

@m-a-v
Copy link

m-a-v commented Jan 29, 2023

I can confirm this. I didn't have time until now to check how to make it reproducible. Thanks @OliNix for the reproduction steps.

@paulplant
Copy link
Collaborator

paulplant commented Jan 30, 2023

We knew about this crash when we released 4.11.0. It was even written in the post about the release notes post in Facebook so that people knew it would happen. It only happens the first time, then it is fine.

image

We considered it better to just let the app crash the first time, then to not release and not fix the scan problems some users were having.

The crash is caused by the numberOfSections issue (which has always existed), now it just happens more since we are refreshing the table more often due to the new workflow.

@OliNix
Copy link
Author

OliNix commented Feb 3, 2023

I did note this, but could not see an open issue so it could be tracked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants