* Create new component for deferred startup tasks
* Function wrapper to defer a task with requestIdleCallback
* Split cache clearing into separate callbacks
So that we can interleave user interactions, I believe.
* We have no await anymore
Also add cancel by id to effect cleanup
* Move over getStorageMetrics
* Add optional timeout param
* Change order of tasks
* Add timeout to diagnostics
* Move findAndLogSentinelFiles over
* Move checkForPreviousCrash over
* Sorry, this does not belong to this PR
But since I am here already it is just a removal without consequences.
* Add TODO
* Do not return anything from findAndLogSentinelFiles
* Rename function
* Update react-native-fs.ts
We were treating every "app start" during testing as having had some sentinel files present from a previous session, i.e. having had an error during a previous camera usage session. Changing to not having sentinelFiles present seems a more sensible default for testing to me.
* Oh, git, why?
* Refactor component to hook
* add controls rozenite plugin
* refactor rozenite config to useRozenite hook
* add TODO comment for lifting up nav rozenite config
* move rozenite controls from devDeps to deps
* switch ff toggle to use..... a toggle : p
* remove temp code disabling logbox
Looking at the code of signOut it is clear that a deletion of realm only happens when we pass the Realm instance in as an option, otherwise it just passes over the code in this if block: 0480fc8b4a/src/components/LoginSignUp/AuthenticationService.ts (L229-L245)
So, since the call site here is clear that it wants to clearRealm inside of signOut adding the realm instance leads to actually deleting realm which is I think what was intended here.
* Replace usage of image-resizer with a simple file move
We are not actually resizing the image at this point. We are mainly using image-resizer here because we had to alter the rotation of the image at this point, before vision-camera supported orientation handling.
* Add file to return path
* Revert "Add file to return path"
This reverts commit 2991d13d99.
* Construct new path wit file protocol