Bug 444333

Summary: Crashes on opening application/in background on iOS
Product: [Applications] kdeconnect Reporter: Calvin Buckley <calvin>
Component: ios-applicationAssignee: Lucas W. <lucas.wang>
Status: RESOLVED FIXED    
Severity: crash CC: public-apollonian
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: iOS   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Calvin Buckley 2021-10-24 16:57:36 UTC
SUMMARY

KDE Connect immediately crashes when I try to open it after having paired my phone and computer.

STEPS TO REPRODUCE
1. Pair with a system; I'm running GSConnect on Fedora 34.
2. Put KDE Connect on iOS in the background
3. Reopen

OBSERVED RESULT

Crashes. I think it may have crashed in the background as well.

EXPECTED RESULT

Should open and persist to the degree iOS allows it to.

SOFTWARE/OS VERSIONS

Computer: Fedora 34, GNOME Shell, GSConnect (I don't know if the fact I'm not running the official KDE Connect application has something to do with it.)
Phone: iPhone 12 Mini, iOS 15.0.2, latest version of KDE Connect

ADDITIONAL INFORMATION

Crash reports have been filed through the iOS means of doing so.
Comment 1 Calvin Buckley 2021-10-25 04:46:55 UTC
I think this may be resolved in build 4.
Comment 2 Apollo Zhu 2021-12-03 21:29:04 UTC
Checks were added to code to prevent crashes.

Technical note: also in the progress of separating views from the model.