The app sometimes crashes when bringing it back to the foreground after backgrounding it for a minute or two.
It happened 3 times on June 2, and many times on May 31. Crash reports sent via Testflight. The most recent Testflight crash log is is pasted below. Note that not all May 31 crash reports are related to this issue, some are due to #1922.
In one of the cases (not the one screen recorded below), the "Electrum Connection Failed. Bitkit could not establish a connection to Electrum." toast appeared before the app crashed.
Reproduce
Try backgrounding the app while certain screens are opened (send, receive, lightning connection, etc.), and bring it back to the foreground a minute or two later
Thanks it looks like maybe switching off the peer manager when the app goes into the background while it is making a connection adding peers is causing this. Will look into it
Describe the bug
The app sometimes crashes when bringing it back to the foreground after backgrounding it for a minute or two.
It happened 3 times on June 2, and many times on May 31. Crash reports sent via Testflight. The most recent Testflight crash log is is pasted below. Note that not all May 31 crash reports are related to this issue, some are due to #1922.
In one of the cases (not the one screen recorded below), the "Electrum Connection Failed. Bitkit could not establish a connection to Electrum." toast appeared before the app crashed.
Reproduce
Screenshots / Recording
https://github.com/synonymdev/bitkit/assets/93796166/050247ca-fd6c-4626-927c-67663087bcde
Operating system
iOS 17.5.1
Bitkit version
49d1359
Log output