You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Expo-Camera with Expo-FaceDetector, the results are very inconsistent when the app is in landscape mode and running on iOS. Both iPhones and iPads show inconsistent results, but the issue is more pronounced when testing on iPads.
The following is the logged messages of the reproducible sample in landscape (See "console.log..." on the faceDetect event):
LOG No Face detected!
...
LOG 1 Face detected all good!
LOG No Face detected!
... Nothing for a while and same pattern repeats
Where simply rotating the device (same distance from face, etc) will result in the following logs:
LOG 1 Face detected all good!
LOG 1 Face detected all good!
LOG 1 Face detected all good!
LOG 1 Face detected all good!
...
Others have reported the same or similar issues recently with the issues getting closed without any actual resolution (e.g. #17250, 21875).
This is very important to us as users have mounted iPads in landscape mode to use the app and now this feature is useless for them.
Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare! bare
What platform(s) does this occur on? iOS
SDK Version (managed workflow only) 49.0.20
Reproducible demo
Bare app created with the react-native base template and Expo modules, CLI, etc added on
App.tsx:
Thank you for filing this issue!
This comment acknowledges we believe this may be a bug and there’s enough information to investigate it.
However, we can’t promise any sort of timeline for resolution. We prioritize issues based on severity, breadth of impact, and alignment with our roadmap. If you’d like to help move it more quickly, you can continue to investigate it more deeply and/or you can open a pull request that fixes the cause.
Minimal reproducible example
https://snack.expo.dev/@claitonlovato/reproducible-demo-for-face-detection-issues-in-landscape
Summary
When using Expo-Camera with Expo-FaceDetector, the results are very inconsistent when the app is in landscape mode and running on iOS. Both iPhones and iPads show inconsistent results, but the issue is more pronounced when testing on iPads.
The following is the logged messages of the reproducible sample in landscape (See "console.log..." on the faceDetect event):
Where simply rotating the device (same distance from face, etc) will result in the following logs:
Others have reported the same or similar issues recently with the issues getting closed without any actual resolution (e.g. #17250, 21875).
This is very important to us as users have mounted iPads in landscape mode to use the app and now this feature is useless for them.
Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!
bare
What platform(s) does this occur on?
iOS
SDK Version (managed workflow only)
49.0.20
Reproducible demo
Bare app created with the react-native base template and Expo modules, CLI, etc added on
App.tsx:
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.4.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.2.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.6.6 - /usr/local/bin/npm
Watchman: 2023.05.22.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.12.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.9971841
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
npmPackages:
expo: ^48.0.0 => 48.0.20
react: 18.2.0 => 18.2.0
react-native: 0.71.8 => 0.71.8
Expo Workflow: bare
The text was updated successfully, but these errors were encountered: