Blog for all barKoder's barcode scanner SDK related stuff

Read about barkoder’s latest news, updates and tutorials.

blog-img.webp

The barKoder Barcode Scanner SDK uses a license key. How does it work?

Licensing The barKoder SDK

When you purchase a license for the barKoder SDK, you will receive a production license key that ensures high level of security and can only be used along with the app ID for which it is generated for. In order to open the software, the user needs to enter the license key string which is typically a string of characters or numbers.

 

How to try barKoder for free before I purchase a production license

Getting your evaluation key is now easier than ever. Visit the following link for more information and get your license key today - get a Trial license

 

 

Where should I enter my license key once I have it?

Using the provided or the self-generated license key will remove the asterisks (*) which otherwise appear throughout the results of a successful scan. In order to achieve that, you need to add the license key within the SDK in a specific place in the code which is called createBKDConfig

 

Android:

private void createBKDConfig() {
        barkoderView.config = new BarkoderConfig(getApplicationContext(), "Enter the License here",
                new Barkoder.LicenseCheckListener() {
                    @Override
                    public void onLicenseCheck(Barkoder.LicenseCheckResult licenseCheckResult) {
                        Log.i("License info", licenseCheckResult.message);
                    }
                });

 

iOS:

ConfigResponse *response = [Config configWithLicenseKey:@“Enter the License here”
                                        licenseCheckHandler:^(LicenseCheckResult *result) {
        if (result.code == LC_OK) {
            NSLog(@“License check sucess!“);
        } else {
            NSLog(@“License check fail!“);
        }
    }];

 

Flutter:

 @override
             Widget build(BuildContext context) {
               return Scaffold(
                 ...,
                 body: BarkoderView(
                           licenseKey: 'KEY',
                           onBarkoderViewCreated: _onBarkoderViewCreated),
                 ...
               );
          

 

 

When does my key become inactive?

 

For trial licenses:

  1. If your device usage (25 devices) is over the limit, each new device trying to register for the service will get asterisks (*) throughout the result. The initial 25 devices will still have full results;
  2. You will see asterisks (*) when your 30-day test period expires;
  3. If you haven't embedded the license key in the correct place within the SDK code.

For production keys:

  1. If your device usage is over the limit, each new device trying to register for the service will get asterisks (*) throughout the result, granted that the 30 days grace period after the initial overload has passed and you haven't upgraded your subscription. All devices that have been registered before the overload happened will still have full results and uninterrupted service;
  2. You will see asterisks (*) when your annual subscription period is not renewed in a timely manner. Our system allows for 30 days grace period after the subscription becomes due for renewal before any service interruption takes place;
  3. If you haven't embedded the license key in the correct place within the SDK code.

 

 

What do I do if my license key is not working?

 

  1. Check again to make sure you are pasting the entire value of the license key string. Since this is the most frequent cause of key rejection, sometimes only a portion of the key is chosen or copied; 
  2. If someone else from your company sent you a key that doesn’t work, please ask them to double-check that they have sent you the full and the correct key;
  3. If the troubleshooting steps above are ineffective, please open a support issue and include the license key and the app.id that you're trying to get it to work with.

 

 

 

 

 

 

 

Latest Barcode Scanner SDK Articles, Tutorials, and News