xmtp / libxmtp

MIT License
33 stars 13 forks source link

Add ability to drop database lock #759

Closed nplasterer closed 1 month ago

nplasterer commented 1 month ago

Should fix https://github.com/xmtp/libxmtp/issues/732

Exposes a function to drop the database lock that can be called in iOS when the app is detected in the background.

Should reconnect the database the next time a call is made.

nplasterer commented 1 month ago

@insipx mind helping me with this? Not sure if this is a bad idea but need a way to drop the database lock and then reconnect next time the app gets foregrounded.