mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-06-21 05:58:37 -04:00
* Bump vision-camera * Refactor patch * Move patched orientation into patch functions file * Update react-native-vision-camera+3.4.1.patch * Switch to MacOS 13 runner Vision camera requires XCode 15 to compile. * Add step to specify XCode 15 * Higher level of logging * Increase test timeout * Add comment * Remove navigation to obs without evidence for signed out user * Patch for location permission not working on iOS * Increase setup timeout * Increase some more timeouts * Revert back to less logging in CI * Does it have to do with timeouts? * Trace log level * Update README.md * Disable Homebrew’s auto update and install cleanup * Setup ruby step * Install pods only if not cached * Revert "Install pods only if not cached" This reverts commit42a2ea02f9. * Run simulator in headless mode, record all logs * Increase timeouts again * Revert "Remove navigation to obs without evidence for signed out user" This reverts commit2b4718f5ce. * Add boolean to run use effect only once * Did merge wrong code * There is one more permission gate when entering obs edit now * Add permission gate dismissal to signed out user test * Add comment, rename state * Lower action timeout * Update react-native-vision-camera to 3.6, update Reanimated to v3 (#838) * Bump camera and plugin * Upgrade Reanimated and libs using it * Update vision-camera mock * Remove superfluous patch * Fix type * Add mocks for e2e tests because bottom sheet does not work on AOSP * Update package-lock.json * Update vision camera * Bump vision camera * Update vision camera patch version * Remove superfluous patch * Update vision camera * Update vision-camera and plugin * Use latest vision plugin = rebased v3 * Run npm clean-start * No longer needed * Duplicate prop * Switch back to v3 code * Upgrading Detox fixes issue with iOS tests failing Because of previous lack of permissions. * Update to latest detox version * Npm i force * Vision 3 e2e testing, (#1126) * Remove jest detox config * Revert e2e timeout increase * Revert jest config timeout * Use macos 14 runner which has XCode 15 per default * Use latest bottom sheet * Revert "Use latest bottom sheet" This reverts commitc66cd09838. * Adding comma back in * Remove spaces * Use latest vision-camera and plugin * Use release version of vision-camera * Remove force flag * Update react-native-worklets-core * Upgrade reanimated * Update babel.config to allow nested worklets * Run frame processor async * Remove enableGpuBuffers flag * Remove no longer needed comment * Update comments about version * Update vision-camera and plugin * Code format * Rename param * Use latest-plugin * Remove fps param from camera view * Change confidenceThreshold to number * API change for results structure * Refactor fps to be checked inside hook As of vision-camera 3.9.1 our camera feed is stuttering when calling the runAtTargetFps function inside the useFrameProcessor hook. So, what I did here is to track the time and skip the frames that are received before the target fps is reached. * Remove updates of non-camera related * Update comment * Code format * Snapshot updates * Revert changes to ios e2e * Add a log for the average time it takes a frame to be processed * Use release version of plugin * Add a patch for runAsync to work in release builds * Update react-native-worklets-core to 0.4.0 * Use latest plugin version * Add a shift method to worklet arrays * Use latest vision-plugin This makes use of .shift() in worklet array and depends on the previous patch. * Set result timestamp and show age of result in debug mode * Fix an error with timestamp being undefined * Remove log * Use latest vision plugin * Change result timestamp to pink * Comment --------- Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
39 lines
1.1 KiB
JavaScript
39 lines
1.1 KiB
JavaScript
module.exports = {
|
|
presets: ["module:metro-react-native-babel-preset"],
|
|
plugins: [
|
|
"react-native-worklets-core/plugin",
|
|
"transform-inline-environment-variables",
|
|
"nativewind/babel",
|
|
["module-resolver", {
|
|
alias: {
|
|
api: "./src/api",
|
|
components: "./src/components",
|
|
dictionaries: "./src/dictionaries",
|
|
i18n: "./src/i18n",
|
|
images: "./src/images",
|
|
// for some reason, this doesn't seem to work for models, so I'm leaving that directory out
|
|
navigation: "./src/navigation",
|
|
providers: "./src/providers",
|
|
realmModels: "./src/realmModels",
|
|
sharedHelpers: "./src/sharedHelpers",
|
|
sharedHooks: "./src/sharedHooks",
|
|
stores: "./src/stores",
|
|
styles: "./src/styles",
|
|
tests: "./tests"
|
|
}
|
|
}],
|
|
// Reanimated plugin has to be listed last https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/
|
|
[
|
|
"react-native-reanimated/plugin",
|
|
{
|
|
processNestedWorklets: true
|
|
}
|
|
]
|
|
],
|
|
env: {
|
|
production: {
|
|
plugins: ["react-native-paper/babel", "transform-remove-console"]
|
|
}
|
|
}
|
|
};
|