Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[camera] Fix type casing #26900

Merged
merged 16 commits into from
Feb 6, 2024
Merged

[camera] Fix type casing #26900

merged 16 commits into from
Feb 6, 2024

Conversation

alanjhughes
Copy link
Collaborator

@alanjhughes alanjhughes commented Feb 3, 2024

Why

Closes ENG-11235
The casing on everything related to barcodes was inconsistent causing problems with autocomplete

How

Fixed all instances of Barcode in the next package to be consistent

Test Plan

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Feb 3, 2024
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Feb 3, 2024
@alanjhughes alanjhughes marked this pull request as ready for review February 3, 2024 07:55
@expo-bot expo-bot added bot: suggestions ExpoBot has some suggestions and removed bot: passed checks ExpoBot has nothing to complain about labels Feb 6, 2024
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Feb 6, 2024
Copy link

linear bot commented Feb 6, 2024

@alanjhughes alanjhughes merged commit b8d9a92 into main Feb 6, 2024
10 checks passed
@alanjhughes alanjhughes deleted the @alanhughes/camera/type-casing branch February 6, 2024 14:56
alanjhughes added a commit that referenced this pull request Feb 7, 2024
@brentvatne brentvatne added the published Changes from the PR have been published to npm label Feb 16, 2024
@@ -1,3 +1,3 @@
{
"expo.jsEngine": "jsc"
"expo.jsEngine": "hermes"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any specific reason why we changed this? As far as I remember we don't use JS at all in this app

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Shared object tests were failing on jsc. I bumped the Xcode version and switched to Hermes and it worked a lot better. I think we went back to Xcode 14 so maybe this needs to be changed but might have the same issue with the tests.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imho we should switch it back to JSC, for these reasons:

  • it wouldn't need to download and link hermes (faster build, but probably not that much since it's no longer built from sources)
  • we don't test JSC at all since we added support for Hermes, so I intentionally used JSC here to at least have some small coverage 😅

I know these tests started failing at some point, but I think we should fix that issue instead of changing the engine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: fingerprint changed bot: passed checks ExpoBot has nothing to complain about published Changes from the PR have been published to npm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants