Skip to content

Commit

Permalink
[native] Add the ExpoBarcodeScanner package
Browse files Browse the repository at this point in the history
Summary:
This will allow us to use the `BarCodeScanner` component on `native` to scan the QR codes on secondary devices.

Depends on D8769

Test Plan: Ran `yarn cleaninstall` and `pod install` after running the install command (`expo install expo-barcode-scanner`) and confirmed I could import the component.

Reviewers: atul, ginsu, tomek, varun, ashoat

Reviewed By: ashoat

Differential Revision: https://phab.comm.dev/D8770
  • Loading branch information
RohanK6 committed Aug 14, 2023
1 parent 98c4c96 commit 22d3ec7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions native/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ PODS:
- DVAssetLoaderDelegate (0.3.3)
- EXApplication (5.1.1):
- ExpoModulesCore
- EXBarCodeScanner (12.1.0):
- EXImageLoader
- ExpoModulesCore
- ZXingObjC/OneD
- ZXingObjC/PDF417
- EXConstants (14.0.2):
- ExpoModulesCore
- EXFileSystem (15.1.1):
Expand Down Expand Up @@ -562,12 +567,18 @@ PODS:
- OpenSSL-Universal
- SQLCipher-Amalgamation/common
- Yoga (1.14.0)
- ZXingObjC/Core (3.6.5)
- ZXingObjC/OneD (3.6.5):
- ZXingObjC/Core
- ZXingObjC/PDF417 (3.6.5):
- ZXingObjC/Core

DEPENDENCIES:
- boost (from `../../node_modules/react-native/third-party-podspecs/boost.podspec`)
- CommExpoPackage (from `../expo-modules/comm-expo-package/ios`)
- DoubleConversion (from `../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- EXApplication (from `../../node_modules/expo-application/ios`)
- EXBarCodeScanner (from `../../node_modules/expo-barcode-scanner/ios`)
- EXConstants (from `../../node_modules/expo-constants/ios`)
- EXFileSystem (from `../../node_modules/expo-file-system/ios`)
- EXFont (from `../../node_modules/expo-font/ios`)
Expand Down Expand Up @@ -667,6 +678,7 @@ SPEC REPOS:
- SDWebImageSVGCoder
- SDWebImageWebPCoder
- SPTPersistentCache
- ZXingObjC

EXTERNAL SOURCES:
boost:
Expand All @@ -677,6 +689,8 @@ EXTERNAL SOURCES:
:podspec: "../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
EXApplication:
:path: "../../node_modules/expo-application/ios"
EXBarCodeScanner:
:path: "../../node_modules/expo-barcode-scanner/ios"
EXConstants:
:path: "../../node_modules/expo-constants/ios"
EXFileSystem:
Expand Down Expand Up @@ -842,6 +856,7 @@ SPEC CHECKSUMS:
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
DVAssetLoaderDelegate: 0caec20e4e08b8560b691131539e9180024d4bce
EXApplication: d8f53a7eee90a870a75656280e8d4b85726ea903
EXBarCodeScanner: cb4deb49e59b6c7ed6bbf38d187802359908d2a8
EXConstants: 3c86653c422dd77e40d10cbbabb3025003977415
EXFileSystem: 60602b6eefa6873f97172c684b7537c9760b50d6
EXFont: 319606bfe48c33b5b5063fb0994afdc496befe80
Expand Down Expand Up @@ -935,6 +950,7 @@ SPEC CHECKSUMS:
SPTPersistentCache: df36ea46762d7cf026502bbb86a8b79d0080dff4
SQLCipher-Amalgamation: cbd36045fe7b458b8a442958a01aefdbc44c20f8
Yoga: d6133108734e69e8c0becc6ba587294b94829687
ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb

PODFILE CHECKSUM: 60ed9de6b14a66c6022cd82cafcb04594edd7eaf

Expand Down
1 change: 1 addition & 0 deletions native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"ethers": "^5.7.2",
"expo": "47.0.14",
"expo-application": "^5.1.1",
"expo-barcode-scanner": "~12.1.0",
"expo-dev-client": "~2.0.1",
"expo-font": "~11.0.1",
"expo-haptics": "~12.0.1",
Expand Down
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11306,6 +11306,13 @@ expo-asset@~8.7.0:
path-browserify "^1.0.0"
url-parse "^1.5.9"

expo-barcode-scanner@~12.1.0:
version "12.1.0"
resolved "https://registry.yarnpkg.com/expo-barcode-scanner/-/expo-barcode-scanner-12.1.0.tgz#3758b20e82bf1e30ad420df4106c8e868ed7b139"
integrity sha512-R+SlrtS7zEomY48Vjc+XJVHp+qz/u4TKG3CQeFobtQlBXPJvK94055yUg9PxOAwIIrOp3093FSOZiu/OGuoxiA==
dependencies:
expo-image-loader "~4.0.0"

expo-constants@~14.0.0, expo-constants@~14.0.2:
version "14.0.2"
resolved "https://registry.yarnpkg.com/expo-constants/-/expo-constants-14.0.2.tgz#2cb1dec8f41a64c2fc5b4eecaf77d7661cad01cc"
Expand Down

0 comments on commit 22d3ec7

Please sign in to comment.