diff --git a/MAUI/Anyline.Examples.MAUI.csproj b/MAUI/Anyline.Examples.MAUI.csproj index f84ae55..15e5da3 100644 --- a/MAUI/Anyline.Examples.MAUI.csproj +++ b/MAUI/Anyline.Examples.MAUI.csproj @@ -18,7 +18,7 @@ 9C37433F-9192-4C96-B49A-B9A7E047FBC2 - 2.0.0 + 3.0.0 1 12.0 @@ -73,11 +73,12 @@ + - - + + @@ -110,6 +111,7 @@ + diff --git a/MAUI/MainPage.xaml.cs b/MAUI/MainPage.xaml.cs index 9f01e23..fa8064e 100644 --- a/MAUI/MainPage.xaml.cs +++ b/MAUI/MainPage.xaml.cs @@ -14,9 +14,8 @@ public MainPage() InitializeComponent(); NavigationPage.SetBackButtonTitle(this, "Home"); - // YOUR LICENSE KEY HERE // (this license key should be, ideally, securely fetched from your back-end server, a secret manager/provider, or obfuscated in the final app) - string licenseKey = "ewogICJsaWNlbnNlS2V5VmVyc2lvbiI6ICIzLjAiLAogICJkZWJ1Z1JlcG9ydGluZyI6ICJwaW5nIiwKICAibWFqb3JWZXJzaW9uIjogIjM3IiwKICAic2NvcGUiOiBbCiAgICAiQUxMIgogIF0sCiAgIm1heERheXNOb3RSZXBvcnRlZCI6IDUsCiAgImFkdmFuY2VkQmFyY29kZSI6IHRydWUsCiAgIm11bHRpQmFyY29kZSI6IHRydWUsCiAgInN1cHBvcnRlZEJhcmNvZGVGb3JtYXRzIjogWwogICAgIkFMTCIKICBdLAogICJwbGF0Zm9ybSI6IFsKICAgICJpT1MiLAogICAgIkFuZHJvaWQiCiAgXSwKICAic2hvd1dhdGVybWFyayI6IHRydWUsCiAgInRvbGVyYW5jZURheXMiOiAzMCwKICAidmFsaWQiOiAiMjAyMy0wNi0zMCIsCiAgImlvc0lkZW50aWZpZXIiOiBbCiAgICAiY29tLmFueWxpbmUueGFtYXJpbi5leGFtcGxlcyIsCiAgICAiY29tLmFueWxpbmUueGFtYXJpbi5mb3Jtcy5leGFtcGxlcyIsCiAgICAiY29tLmFueWxpbmUuZXhhbXBsZXMiLAogICAgImNvbS5hbnlsaW5lLm1hdWkuZXhhbXBsZXMiCiAgXSwKICAiYW5kcm9pZElkZW50aWZpZXIiOiBbCiAgICAiY29tLmFueWxpbmUueGFtYXJpbi5leGFtcGxlcyIsCiAgICAiY29tLmFueWxpbmUueGFtYXJpbi5mb3Jtcy5leGFtcGxlcyIsCiAgICAiY29tLmFueWxpbmUuZXhhbXBsZXMiLAogICAgImNvbS5hbnlsaW5lLm1hdWkuZXhhbXBsZXMiCiAgXQp9CnhFU0JoNVhZSGQyMXh3aHkvaUhsNVdYd1NmZDFscytqQ0VST2x2bGRzam1CV1BpWG44MzloZnZCdG00Y0Qyd3VEdVBHeDNMZXZNcUlPOVhxaXJ3Q256Z1hWd00rZ3hZU2k2N21aazJPMzcyQmlRcE1QQU5mUjFEQTBwcGZPSVN4V09ocjcwVXViNWJicnhYREVmblZPU0svYXFzb0Z2YzVEdDlTNWlmeE5POXV3dVY3Q3RIcjBKZ2NpcmU1UkdzS0xocmEyUTE5TVBDT1hsb3U0MlJadG9JN1dSMnZ6NUR6eUhkUDhGRjJUVlF0TWRiNGZxS1lNbFB3TXRKYUl5OEZtMkRTdmp6QlBCU0RRQUo3SVZMM2R6NEZ4MnhXQnBvTEN6YXNDdG4rc21vakJPYUIwc1NkckFBWFU5RFEwa1BIUjhUMW5XSmZMQ3JOeml2ZUdVK1RjZz09"; + string licenseKey = "YOUR_LICENSE_KEY_HERE"; string licenseErrorMessage = null; diff --git a/MAUI/Models/AnylineScanModes.cs b/MAUI/Models/AnylineScanModes.cs index ee275c4..047dd47 100644 --- a/MAUI/Models/AnylineScanModes.cs +++ b/MAUI/Models/AnylineScanModes.cs @@ -46,7 +46,8 @@ public static List GetAnylineScanModesGroupedList() }), new AnylineScanModeGroup("Composite", new List{ new AnylineScanMode("Serial Scanning (LPT - EU > DVL > VIN)","workflows_config_serial_scanning.json"), - new AnylineScanMode("Parallel Scanning (Meter / Serial Number)","workflows_config_parallel_scanning.json") + new AnylineScanMode("Parallel Scanning (Meter / Serial Number)","workflows_config_parallel_scanning.json"), + new AnylineScanMode("Parallel - First Scan (VIN or Barcode)","workflows_config_parallel_first_scan.json") }), new AnylineScanModeGroup("NFC", new List { diff --git a/MAUI/Resources/Raw/Configs/workflows_config_parallel_first_scan.json b/MAUI/Resources/Raw/Configs/workflows_config_parallel_first_scan.json new file mode 100644 index 0000000..04fc039 --- /dev/null +++ b/MAUI/Resources/Raw/Configs/workflows_config_parallel_first_scan.json @@ -0,0 +1,70 @@ +{ + "cameraConfig": { + "captureResolution": "1080p", + "pictureResolution": "1080p" + }, + "flashConfig": { + "mode": "manual", + "alignment": "top_right" + }, + "viewPluginCompositeConfig": { + "id": "Workflows|VIN or Barcode (parallelFirstScan)", + "processingMode": "parallelFirstScan", + "viewPlugins": [ + { + "viewPluginConfig": { + "pluginConfig": { + "id": "VIN", + "vinConfig": {} + }, + "cutoutConfig": { + "style": "rect", + "width": 720, + "alignment": "top_half", + "maxWidthPercent": "70%", + "ratioFromSize": { + "width": 62, + "height": 9 + }, + "strokeWidth": 2, + "strokeColor": "FFFFFF", + "cornerRadius": 4, + "outerColor": "000000", + "outerAlpha": 0.0, + "feedbackStrokeColor": "0099FF" + }, + "scanFeedbackConfig": { + "animation": "traverse_multi", + "animationDuration": 250, + "style": "contour_rect", + "strokeWidth": 2, + "strokeColor": "0099FF", + "beepOnResult": false, + "vibrateOnResult": true, + "blinkAnimationOnResult": false + } + } + }, + { + "viewPluginConfig": { + "pluginConfig": { + "id": "BARCODE", + "barcodeConfig": { + "barcodeFormats": [ "ALL" ] + } + }, + "scanFeedbackConfig": { + "animation": "traverse_multi", + "animationDuration": 250, + "style": "contour_rect", + "strokeWidth": 2, + "strokeColor": "00FF00", + "beepOnResult": false, + "vibrateOnResult": true, + "blinkAnimationOnResult": false + } + } + } + ] + } +} \ No newline at end of file