expo-barcode-scanner
TypeScript icon, indicating that this package has built-in type declarations

13.0.1 • Public • Published

expo-barcode-scanner

Allows scanning variety of supported barcodes both as standalone module and as extension for expo-camera. It also allows scanning barcodes from existing images.

API documentation

Installation in managed Expo projects

For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.

Add the package to your npm dependencies

npx expo install expo-barcode-scanner

Configure for iOS

Add NSCameraUsageDescription and NSMicrophoneUsageDescription key to your Info.plist:

<key>NSCameraUsageDescription</key>
<string>Allow $(PRODUCT_NAME) to use the camera</string>
<key>NSMicrophoneUsageDescription</key>
<string>Allow $(PRODUCT_NAME) to use the microphone</string>

Run npx pod-install after installing the npm package.

Configure for Android

This package automatically adds the CAMERA permission to your app.

<!-- Added permissions -->
<uses-permission android:name="android.permission.CAMERA" />

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
13.0.115,985sdk-51
13.0.115,985latest
12.9.35,453sdk-50
14.0.1387next
14.0.0-canary-20241021-c4b5a932canary

Version History

VersionDownloads (Last 7 Days)Published
14.0.1387
14.0.016
14.0.0-canary-20241021-c4b5a932
14.0.0-canary-20241021-7aba8132
14.0.0-canary-20241018-ebd377a2
14.0.0-canary-20241018-2a482e32
14.0.0-canary-20241018-75a0b252
14.0.0-canary-20241018-4f8243a2
14.0.0-canary-20241018-f71b3e02
14.0.0-canary-20241008-90b13ad2
14.0.0-canary-20240927-ab8a9622
14.0.0-canary-20240912-1059f851
14.0.0-canary-20240904-69100c12
14.0.0-canary-20240814-ce0f7d52
13.0.2-canary-20240719-83ee47b3
13.0.2-canary-20240628-1ba81522
13.0.2-canary-20240627-1402f4b2
13.0.2-canary-20240625-2333e703
13.0.115,985
13.0.021
0.0.1-canary-20240418-8d745971
0.0.1-canary-20240415-cca04d82
0.0.1-canary-20240415-0868fc42
0.0.1-canary-20240411-55a00852
0.0.1-canary-20240411-33a7dc12
0.0.1-canary-20240406-a4950c72
0.0.1-canary-20240405-cdfd9c12
0.0.1-canary-20240404-e2b87432
0.0.1-canary-20240328-24ecc5e2
0.0.1-canary-20240327-a7302d92
0.0.1-canary-20240320-8a10e092
0.0.1-canary-20240318-dd8f2452
0.0.1-canary-20240318-af634b12
0.0.1-canary-20240318-53194f51
0.0.1-canary-20240315-ce710052
0.0.1-canary-20240308-67158751
0.0.1-canary-20240305-e60019e2
0.0.1-canary-20240228-7cee6192
0.0.1-canary-20240222-c729a132
12.9.35,453
0.0.1-canary-20240109-93608d82
12.9.235
12.9.16
0.0.1-canary-20231205-250b31f2
0.0.1-canary-20231130-c8a9bf92
0.0.1-canary-20231130-ede75a7-12
0.0.1-canary-20231130-ede75a72
0.0.1-canary-20231129-c0ec0232
0.0.1-canary-20231125-d600e442
0.0.0-canary-20231123-1b19f962
12.9.019
12.8.053
12.7.0233
12.6.125
12.6.011
12.5.32,678
12.5.213
12.5.114
12.5.015
12.4.021
12.3.21,400
11.5.0162
12.3.18
12.3.04
12.2.012
12.1.0738
12.0.0388
11.4.082
11.3.065
11.2.193
11.2.013
11.1.234
11.1.16
11.1.06
11.0.08
10.2.261
10.2.14
10.2.013
10.1.2245
10.1.15
10.1.017
10.0.015
9.1.031
9.0.027
8.2.1175
8.2.04
8.1.09
8.0.05
7.0.010
7.0.0-rc.02
6.0.02
6.0.0-rc.02
5.0.174
5.0.07
5.0.0-rc.02
4.0.09
3.0.04
2.0.0746
2.0.0-rc.22
2.0.0-rc.12
2.0.0-rc.02
1.1.038
1.1.0-rc.12
1.1.0-rc.02
1.0.0149
1.0.0-rc.12
1.0.0-rc.02

Package Sidebar

Install

npm i expo-barcode-scanner

Weekly Downloads

29,758

Version

13.0.1

License

MIT

Unpacked Size

142 kB

Total Files

65

Last publish

Collaborators

  • tsapeta
  • ide
  • lukmccall
  • pkham
  • radoslawkrzemien
  • wojciechdrozdz
  • fiber-god
  • betoatexpo
  • brentvatne
  • evanbacon
  • quinlanj
  • expoadmin
  • exponent
  • wschurman
  • bycedric
  • jonsamp
  • princefleaswallow
  • kudochien
  • keith-kurak
  • alanhughes
  • gabrieldonadel
  • douglowder
  • kadikraman
  • aleqsio
  • expo-bot
  • philpl
  • marklawlor
  • colinmackenzie
  • jesseruder
  • sjchmiela
  • esamelson