NordicSemiconductor / IOS-nRF-Connect

Info page
https://nordicsemiconductor.github.io/IOS-nRF-Connect/
138 stars 32 forks source link

App always crashes when stopping advertising and central connected #84

Closed kacper1703 closed 3 years ago

kacper1703 commented 3 years ago

App: 2.4.4, build 37, iPhone 11 Pro, iOS 14.1

Repro steps:

App does not crash if I disconnect the central on the central side, then stop advertising.

kacper1703 commented 3 years ago

Also, any attempt to open control center or moving the app into the background causes the app to crash as well.

dinesharjani commented 3 years ago

@kacper1703 Thank you! We're going to look into this immediately.

dinesharjani commented 3 years ago

@kacper1703 Your first issue, the crash when tapping on "Stop Advertising", has been fixed, and will be part of the next update, 2.4.5.

However, I cannot reproduce the background crash. Do you have specific steps to reproduce it as well?

kacper1703 commented 3 years ago

@dinesharjani They're the same, but instead of tapping "Stop Advertising" I either move the app to the background or for example try to open Control Center. Locking the phone also crashes the app.

dinesharjani commented 3 years ago

@kacper1703 both issues were caused by the same bug; it's fixed and committed to the 2.4.5 branch. Thank you!

kacper1703 commented 3 years ago

Awesome, thank you. When could we expect the 2.4.5 release?

dinesharjani commented 3 years ago

@kacper1703 I expect it to be out very soon - at the latest, middle of next week. But I think sooner, because we're very close to our Christmas break :)