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][scanner] Set previewLayer on scanner #28931

Merged
merged 2 commits into from
May 17, 2024

Conversation

alanjhughes
Copy link
Collaborator

Why

Set the previewLayer on the barcode scanner to allow it to get the correct corner points and bounds from the scanned barcode

How

Added as a property to the BarcodeScanner

Test Plan

bare-expo ✅

@alanjhughes alanjhughes requested a review from tsapeta May 16, 2024 20:52
@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label May 16, 2024
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels May 16, 2024
@alanjhughes alanjhughes marked this pull request as ready for review May 16, 2024 20:54
@alanjhughes alanjhughes requested a review from lukmccall as a code owner May 16, 2024 20:54
@expo-bot
Copy link
Collaborator

The Pull Request introduced fingerprint changes against the base commit: d6515f1

Fingerprint diff
[
  {
    "type": "dir",
    "filePath": "../../packages/expo-camera/ios",
    "reasons": [
      "expoAutolinkingIos"
    ],
    "hash": "6bedd9b52c0d7cb6e939b6adefe3e05a01df6ad3"
  }
]

Generated by PR labeler 🤖

@alanjhughes alanjhughes merged commit a1d0edf into main May 17, 2024
20 checks passed
@alanjhughes alanjhughes deleted the @alanhughes/camera/scanner-dimensions branch May 17, 2024 09:41
@brentvatne brentvatne added the published Changes from the PR have been published to npm label May 29, 2024
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.

4 participants