Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dynamsoft/capture-vision-react-native-samples
Dynamsoft Capture Vision React-Native SDK Samples
https://github.com/dynamsoft/capture-vision-react-native-samples
1d-barcode barcode datamatrix document-scanner label-recognition linear-barcode npm-package pdf417 qrcode react-native
Last synced: 3 months ago
JSON representation
Dynamsoft Capture Vision React-Native SDK Samples
- Host: GitHub
- URL: https://github.com/dynamsoft/capture-vision-react-native-samples
- Owner: Dynamsoft
- License: other
- Created: 2021-03-29T07:33:18.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T09:57:30.000Z (7 months ago)
- Last Synced: 2024-10-05T07:06:25.649Z (4 months ago)
- Topics: 1d-barcode, barcode, datamatrix, document-scanner, label-recognition, linear-barcode, npm-package, pdf417, qrcode, react-native
- Language: JavaScript
- Homepage: https://www.dynamsoft.com/capture-vision/docs/introduction/
- Size: 364 KB
- Stars: 15
- Watchers: 7
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dynamsoft Capture Vision samples for React-Native edition
This repository contains multiple samples that demonstrate how to use the Dynamsoft Capture Vision React-Native Edition.
* [User Guide](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/react-native/user-guide/barcode-reader.html?product=dbr&version=latest&repoType=mobile)
* [API Reference](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/react-native/api-reference/?product=dbr&version=latest&repoType=mobile)## System Requirements
### React Native
* Supported Version: 0.60 or higher
### Android
* Supported OS: Android 5.0 (API Level 21) or higher.
* Supported ABI: **armeabi-v7a**, **arm64-v8a**, **x86** and **x86_64**.
* Development Environment: Android Studio 3.4+ (Android Studio 4.2+ recommended).
* JDK: 1.8+### iOS
* Supported OS: **iOS 10.0** or higher.
* Supported ABI: **arm64** and **x86_64**.
* Development Environment: Xcode 7.1 and above (Xcode 13.0+ recommended), CocoaPods 1.11.0+.### Others
* Node: 16.15.1 recommended
## Samples
| Sample Name | Description |
| ----------- | ----------- |
| `BarcodeReaderSimpleSample` | This is a sample that illustrates the simplest way to recognize barcodes from video streaming with Dynamsoft Capture Vision React-Native SDK. |### Install the Dependencies
Go to your project folder and run the following command:
```bash
yarn install
```or
```bash
npm install
```**For iOS**, you must install the necessary native frameworks from cocoapods to run the application. In order to do this, the `pod install` command needs to be run as such:
```bash
cd ios
``````bash
pod install
```### Build and Run
* **Android**
Go to your project folder and run the following command:
```bash
npx react-native run-android
```* **iOS**
In the terminal, go to the project folder in your project:
```bash
npx react-native run-ios
```> Note:
>
>- The application needs to run on a physical device rather than a simulator as it requires the use of the camera. If you try running it on a simulator, you will most likely run into a number of errors/failures.
>- On iOS, in order to run the React Native app on a physical device you will need to install the [`ios-deploy`](https://www.npmjs.com/package/ios-deploy) library. Afterwards, you can run the react native app from the terminal as such `npx react-native run-ios --device` assuming it's the only device connected to the Mac.
>- Alternatively on iOS, you can simply open the xcworkspace of the project found in the `ios` folder using Xcode and run the sample on your connected iOS device from there. The advantage that this offers is that it is easier to deal with the developer signatures for deployment in there.## License
* You can request a 30-day trial license via the [Request a Trial License](https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=github&package=react_native&version=9) link.
## Contact
https://www.dynamsoft.com/company/contact/