Commit Graph

12 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
Eric Seidel 645ee23ec6 Expose "report_launch_failure" so engine can call it. (#97) 2023-03-20 17:32:03 -05:00
Felix Angelov 62bed70bf5 chore: rename product_id to app_id (#77) 2023-03-15 14:11:13 -05:00
Felix Angelov 6f2919f972 chore: add .shorebird to .gitignore 2023-03-13 15:28:07 -05:00
Eric Seidel 5ce81e3580 Remove +1 from version name 2023-03-13 09:36:08 -07:00
Eric Seidel 07ea9b21c6 Remove +1 from version name 2023-03-13 09:34:54 -07:00
Felix Angelov 6eba1b18d0 chore(example): update product id 2023-03-13 11:04:23 -05:00
Eric Seidel d1c3a1a24f Add network permissions to example/counter 2023-03-13 08:59:20 -07:00
Eric Seidel 10f9e4ff6f feature: Teach the rust updater library about shorebird.yaml (#54) 2023-03-10 23:49:19 -06: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