Commit Graph

4 Commits

Author SHA1 Message Date
Eric Seidel 3d388ba489 feat: Sketch out what the UI could look like when using the update api (#139) 2023-03-22 11:34:43 -07:00
Felix Angelov e4aa6dc033 chore: resolve analysis warnings (#53) 2023-03-09 15:51:27 -08:00
Eric Seidel c59205d079 Make updater library thread safe
This was needed so that it could be called from Dart as well as flutter_main/C++.

It turns out flutter_main does not run on the "ui thread", so when Dart was calling
into the updater it would panic due to thinking the updater (which was using a thread local) was not yet initialized.

Also added the log-panics crate on Android so that panics appear in adb logcat.
2023-03-08 13:03:13 -08:00
Eric Seidel dcf5f080ad refactor: split updater library into layers (#47) 2023-03-08 11:11:10 -06:00