This directory contains framework-specific examples demonstrating how to integrate the Dynamsoft Barcode Reader (JavaScript edition) into common web and hybrid frameworks. Each framework folder contains one or more runnable sub-examples (for example, scan-using-foundational-api and/or scan-using-rtu-api) showing practical integration patterns.
- angular/ — Angular examples.
- blazor/ — Blazor (.NET) examples.
- capacitor/ — Capacitor mobile hybrid examples.
- electron/ — Electron desktop examples.
- es6/ — Plain ES6 module examples.
- native-ts/ — Native TypeScript examples.
- next/ — Next.js examples.
- nuxt/ — Nuxt examples.
- pwa/ — Progressive Web App examples.
- react/ — React examples.
- requirejs/ — RequireJS (AMD) examples.
- svelte/ — Svelte examples.
- vue/ — Vue examples.
- webview/ — Native WebView examples for Android/iOS.
- Browse into a framework subfolder and choose a subexample, e.g.:
cd react/scan-using-rtu-api - Follow the subexample README for exact steps. Typical commands:
- npm install - npm run dev (or npm start / npm run build per the subexample) - Open the local dev URL shown in the terminal (ensure you use localhost or HTTPS for camera access).
- Serve examples via the framework dev server or a local HTTP server; opening files directly (file://) may break module loading or camera permissions.
- Camera and microphone access require a secure context (https or localhost).
- A trial license is included for short-term testing; request a longer trial from Dynamsoft for extended evaluation.
- For general instructions, license info and API docs, see the repository root README.md.
If a sub-example provides a README, follow it for platform-specific details and additional troubleshooting tips.