Skip to content

Commit

Permalink
Update to Anyline v46.1.0 - Anyline .NET v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardocolombo committed Apr 27, 2023
1 parent 4d4c86b commit 919c8cf
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 3 deletions.
8 changes: 5 additions & 3 deletions MAUI/Anyline.Examples.MAUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<ApplicationIdGuid>9C37433F-9192-4C96-B49A-B9A7E047FBC2</ApplicationIdGuid>

<!-- Versions -->
<ApplicationDisplayVersion>3.0.0</ApplicationDisplayVersion>
<ApplicationDisplayVersion>4.0.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>

<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">12.0</SupportedOSPlatformVersion>
Expand Down Expand Up @@ -74,11 +74,12 @@
<None Remove="Platforms\Android\Resources\layout\" />
<None Remove="Platforms\iOS\NFC\" />
<None Remove="Resources\Raw\Configs\workflows_config_parallel_first_scan.json" />
<None Remove="Resources\Raw\Configs\tire_make_config.json" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Anyline.SDK.NET.Android" Version="3.0.0" />
<PackageReference Include="Anyline.SDK.NET.iOS" Version="3.0.0" />
<PackageReference Include="Anyline.SDK.NET.Android" Version="4.0.0" />
<PackageReference Include="Anyline.SDK.NET.iOS" Version="4.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>

Expand Down Expand Up @@ -112,6 +113,7 @@
<BundleResource Include="Resources\Raw\Configs\vehicle_registration_certificate_config.json" />
<BundleResource Include="Resources\Raw\Configs\others_config_barcode_pdf417_config.json" />
<BundleResource Include="Resources\Raw\Configs\workflows_config_parallel_first_scan.json" />
<BundleResource Include="Resources\Raw\Configs\tire_make_config.json" />
</ItemGroup>
<ItemGroup>
<Folder Include="NFC\" />
Expand Down
1 change: 1 addition & 0 deletions MAUI/Models/AnylineScanModes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public static List<AnylineScanModeGroup> GetAnylineScanModesGroupedList()
new AnylineScanMode("TIN - DOT (North America Only)","tire_tin_dot_config.json"),
new AnylineScanMode("Tire Size Specifications","tire_size_config.json"),
new AnylineScanMode("Commercial Tire Identification Numbers","tire_commercial_tire_id_config.json"),
new AnylineScanMode("Tire Make","tire_make_config.json"),
}),
new AnylineScanModeGroup("Maintenance, Repair & Operations", new List<AnylineScanMode>{
new AnylineScanMode("Universal Serial Number", "mro_usnr_config.json"),
Expand Down
48 changes: 48 additions & 0 deletions MAUI/Resources/Raw/Configs/tire_make_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"cameraConfig": {
"captureResolution": "1080"
},
"flashConfig": {
"mode": "manual",
"alignment": "top_left"
},
"viewPluginConfig": {
"pluginConfig": {
"id": "Tire|Tire Make",
"tireMakeConfig": {
"upsideDownMode": "AUTO"
},
"cancelOnResult": true
},
"cutoutConfig": {
"style": "rect",
"width": 720,
"alignment": "center",
"maxWidthPercent": "80%",
"ratioFromSize": {
"width": 720,
"height": 144
},
"strokeWidth": 2,
"strokeColor": "FFFFFF",
"cornerRadius": 4,
"outerColor": "000000",
"outerAlpha": 0.5,
"feedbackStrokeColor": "0099FF",
"offset": {
"x": 0,
"y": -15
}
},
"scanFeedbackConfig": {
"animation": "traverse_multi",
"animationDuration": 250,
"style": "contour_rect",
"strokeWidth": 2,
"strokeColor": "0099FF",
"beepOnResult": false,
"vibrateOnResult": true,
"blinkAnimationOnResult": true
}
}
}

0 comments on commit 919c8cf

Please sign in to comment.