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. Its as simple as registering an account on the barKoder Developer Portal and utilizing the Trial License self-service.
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:
- 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;
- You will see asterisks (*) when your 30-day test period expires;
- If you haven't embedded the license key in the correct place within the SDK code.
For production keys:
- 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;
- 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;
- 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?
- 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;
- 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;
- If the troubleshooting steps above are ineffective, you can open a support ticket via the Developer Portal or contact us via email. Make sure to include the license key and the app.id that you're trying to get it to work with.