Skip to content

Commit

Permalink
Release 9.0.0 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-graca authored Sep 6, 2024
1 parent a0a6f66 commit 149696a
Show file tree
Hide file tree
Showing 17 changed files with 5 additions and 972 deletions.
18 changes: 3 additions & 15 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>8.1.0</ApplicationDisplayVersion>
<ApplicationDisplayVersion>9.0.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>

<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">12.0</SupportedOSPlatformVersion>
Expand Down Expand Up @@ -70,18 +70,15 @@
<None Remove="Platforms\Android\Resources\layout\ScanLayout.axml" />
<None Remove="Resources\Raw\Configs\vrc_config.json" />
<None Remove="Resources\Raw\Configs\barcode_pdf417_config.json" />
<None Remove="NFC\" />
<None Remove="Platforms\Android\NFC\" />
<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="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Anyline.SDK.NET.iOS" Version="8.1.0" />
<PackageReference Include="Anyline.SDK.NET.Android" Version="8.1.0" />
<PackageReference Include="Anyline.SDK.NET.iOS" Version="9.0.0" />
<PackageReference Include="Anyline.SDK.NET.Android" Version="9.0.0" />
</ItemGroup>

<ItemGroup>
Expand All @@ -97,12 +94,6 @@
<MauiXaml Update="ResultsPage.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
<MauiXaml Update="NFC\NFCResultsPage.xaml">
<SubType></SubType>
</MauiXaml>
<MauiXaml Condition=" '$(EnableDefaultXamlItems)' == 'true' " Update="NFC\MyScanningWithAnylinePage.xaml">
<Generator>MSBuild:Compile</Generator>
</MauiXaml>
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0-android'">
<!-- Required for the usage of the Face Detection feature on Universal ID / MRZ scan modes -->
Expand All @@ -116,9 +107,6 @@
<BundleResource Include="Resources\Raw\Configs\tire_make_config.json" />
</ItemGroup>
<ItemGroup>
<Folder Include="NFC\" />
<Folder Include="Platforms\Android\NFC\" />
<Folder Include="Platforms\Android\Resources\layout\" />
<Folder Include="Platforms\iOS\NFC\" />
</ItemGroup>
</Project>
10 changes: 1 addition & 9 deletions MAUI/MainPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Anyline.Examples.MAUI.Models;
using Anyline.Examples.MAUI.NFC;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Controls.PlatformConfiguration;
using Microsoft.Maui.Controls.Shapes;
Expand Down Expand Up @@ -63,14 +62,7 @@ private async void BtScan_Clicked(object sender, EventArgs e)

AnylineScanMode scanMode = new AnylineScanMode(name_config[0], name_config[1], string.Empty);

if (scanMode.Name == "Scan NFC of Passports")
{
await Navigation.PushAsync(new MyNFCScanningWithAnylinePage(scanMode));
}
else
{
await Navigation.PushAsync(new MyScanningWithAnylinePage(scanMode));
}
await Navigation.PushAsync(new MyScanningWithAnylinePage(scanMode));

(sender as Button).IsEnabled = true;
}
Expand Down
4 changes: 0 additions & 4 deletions MAUI/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@

namespace Anyline.Examples.MAUI;

using NFC;
using Views;

#if ANDROID
using Anyline.Examples.MAUI.Platforms.Android.CustomRenderers;
using Anyline.Examples.MAUI.Platforms.Android.NFC;
#endif

#if IOS
using Anyline.Examples.MAUI.Platforms.iOS.CustomRenderers;
using Anyline.Examples.MAUI.Platforms.iOS.NFC;
#endif

public static class MauiProgram
Expand All @@ -27,7 +24,6 @@ public static MauiApp CreateMauiApp()
{
//handlers.AddHandler(typeof(AnylineView), typeof(AnylineHandler));
handlers.AddHandler(typeof(AnylineScanningView), typeof(AnylineScanningViewRenderer));
handlers.AddHandler(typeof(NFCScanExampleView), typeof(NFCScanningViewRenderer));
})
.ConfigureFonts(fonts =>
{
Expand Down
5 changes: 0 additions & 5 deletions MAUI/Models/AnylineScanModes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ public static List<AnylineScanModeGroup> GetAnylineScanModesGroupedList()
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 - First Scan (VIN or Barcode)","workflows_config_parallel_first_scan.json")
}),
new AnylineScanModeGroup("NFC", new List<AnylineScanMode>
{
new AnylineScanMode("Scan NFC of Passports","id_config_mrz.json")
})
};
}
Expand All @@ -71,7 +67,6 @@ public class AnylineScanMode
{
public string Name { get; set; }
public string JSONConfigPath { get; set; }
public bool IsNFC { get; set; }

public AnylineScanMode(string name, string jsonConfigPath, string configsPath = "Configs/")
{
Expand Down
11 changes: 0 additions & 11 deletions MAUI/NFC/MyNFCScanningWithAnylinePage.xaml

This file was deleted.

74 changes: 0 additions & 74 deletions MAUI/NFC/MyNFCScanningWithAnylinePage.xaml.cs

This file was deleted.

45 changes: 0 additions & 45 deletions MAUI/NFC/MyScanResults.cs

This file was deleted.

75 changes: 0 additions & 75 deletions MAUI/NFC/NFCResultsPage.xaml

This file was deleted.

42 changes: 0 additions & 42 deletions MAUI/NFC/NFCResultsPage.xaml.cs

This file was deleted.

Loading

0 comments on commit 149696a

Please sign in to comment.