My iPhone crashes when I leave the Files app connected to a network drive
When I use the "connect to server" option in the Files app to connect to a network drive, and then leave my phone connected (as I should be able to do), the phone will consistently crash at least once per day.
It tends to happen when I leave my house, so presumably it relates to the effect of being disconnected from the LAN where the server is based.
I think the issue relates to the fact that the Files app poorly handles a scenario where a file server is offline. When I connect to my file server, and later that server goes offline, the iPhone behaves like it is continually trying to connect to this server, and eventually the Files app will crash, which causes the whole iPhone to crash.
The crash requires a hard reset to resolve.
iPhone 13, iOS 16