Commit Graph

8 Commits

Author SHA1 Message Date
Felix Angelov 9734b12ed3 fix(updater): use all base library paths (#206) 2023-03-31 12:44:12 -05:00
Eric Seidel 0ba204e5c0 feat: Add support for diff patches (#163)
Co-authored-by: Felix Angelov <felix@shorebird.dev>
2023-03-24 19:59:35 +00:00
Eric Seidel 645ee23ec6 Expose "report_launch_failure" so engine can call it. (#97) 2023-03-20 17:32:03 -05:00
Felix Angelov e91f2dbaac refactor(updater): conform to new backend interfaces (#90) 2023-03-17 13:00:35 -05:00
Eric Seidel 10f9e4ff6f feature: Teach the rust updater library about shorebird.yaml (#54) 2023-03-10 23:49:19 -06: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
Eric Seidel c13091b721 chore: Fix the rust build (#27) 2023-03-06 15:06:31 -08:00