Installation guide for barKoder's Capacitor Barcode Scanner SDK plugin

This is a guide for the Capacitor plugin powered by the barKoder Barcode Scanner SDK.

Requirements #

Capacitor is a cross-platform app runtime that makes it easy to build web apps that run natively on iOS, Android and the web. To get started with building apps using Capacitor, you'll need to meet certain requirements:

1. Node.js and npm #

Ensure you have Node.js installed on your machine. Capacitor requires Node.js version 10 or later.npm (Node Package Manager) is also required. It usually comes with Node.js.
check_box Download Node.js and verify installation:
                node -v  
npm -v
            

2. Text Editor or IDE #

Choose an editor to write your code. Popular options include:

check_box Visual Studio Code
check_box Atom, Sublime Text, or any other editor you prefer.

Capacitor projects are often version-controlled using Git.

Download Git and verify installation:
                git --version
            

4. Command Line Interface (CLI) #

Capacitor commands are executed via the command line. 

Make sure you have a command line interface (CLI) installed and accessible on your system.

5. Mobile Development SDKs #

Platform-specific SDKs are required to build and run apps:

Capacitor Project #

Here are the basic steps:

1. Install Capacitor #

                npm install -g @capacitor/cli

            

2. Add Platforms #

                npx cap add ios  
npx cap add android

            

3. Open Your IDE and Start Coding #

Use your preferred IDE or text editor to build your app using web technologies (HTML, CSS, JavaScript/TypeScript).

4. Build and Run on Platforms #

Use Capacitor commands to build and launch your app:

                npx cap open ios  
npx cap open android

            

Install #

                npm install barkoder-capacitor
npx cap sync
            

Licensing #

The SDK will scan barcodes even without a license, but results will come with an "UNLICENSED" prefix.
If you want to test the SDK today create a trial license https://barkoder.com/request-quote or just sign-up at barkoder.com/register to access all barKoder features.

Page Contents

History:

close