Skip to main content

Cordova is deprecated

This platform is deprecated and will not receive further updates or new features. Existing customers may continue to use and renew their license, while new projects should use Capacitor, which is the recommended alternative.

View Capacitor documentation

ProGuard | Cordova Barcode Scanner

Starting from v4.2.0, consumer ProGuard rules are integrated into the Scanbot Barcode SDK Cordova Plugin and automatically applied to customers modules.

If you use older version and have ProGuard/R8 enabled for the release/production build, please add the following rules:

For the Scanbot Barcode SDK Cordova Plugin

-keeppackagenames io.scanbot.barcodesdk.plugin.cordova.**
-keep public class io.scanbot.barcodesdk.plugin.cordova.** { *; }
-keep public class io.scanbot.sdk.ui.** { *; }

For the native Scanbot Barcode SDK

Since Scanbot Android Barcode Scanner SDK version 1.1.7, consumer ProGuard rules are integrated into the library and automatically applied to customers' modules.

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get free trial license