-
Notifications
You must be signed in to change notification settings - Fork 1
Anyline License How To
Before you get started with your Anyline integration, you need a license key. You can register an account and request a test license here or write a mail to [email protected].
The license key is bound to your application identifier, which in case of Windows UWP, is the Package Name of your app.
⚠️ Windows App Store may change the Package Name
⚠️ If you plan on associating your App with the Windows Store, you have to reserve an App name, which will update your final Package Name. For an appropriate license key, you should already have registered your desired app name at the Windows Store. Otherwise, you may have to generate another Anyline License Key later.
Starting with Anyline 26, we changed our point of initialization for the Anyline license in order to streamline our initialization process.
Simply put the Anyline license check once globally in your application and then initialize any of the components (ScanView, ScanPlugins, etc.) without the license key parameter.
await anylineScanView.InitAsync("path/to/config.json", "MY_LICENSE_KEY");
// just once, preferrably in the main page
AnylineSDK.Init("MY_LICENSE_KEY");
...
// will only work when the license was initialized, otherwise throws an exception
await anylineScanView.InitAsync("path/to/config.json", "MY_LICENSE_KEY");