File tree 2 files changed +14
-3
lines changed
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 1
- using Microsoft . Extensions . Logging ;
1
+ using BarcodeScanner . Mobile ;
2
+ using Microsoft . Extensions . Logging ;
2
3
using SanteDB . Core . Applets . Services . Impl ;
3
4
using SanteDB . Rest . HDSI ;
4
5
using System . Diagnostics ;
@@ -30,6 +31,10 @@ public static MauiApp CreateMauiApp()
30
31
fonts . AddFont ( "OpenSans-Regular.ttf" , "OpenSansRegular" ) ;
31
32
fonts . AddFont ( "OpenSans-Semibold.ttf" , "OpenSansSemibold" ) ;
32
33
} )
34
+ . ConfigureMauiHandlers ( handlers =>
35
+ {
36
+ handlers . AddBarcodeScannerHandler ( ) ;
37
+ } )
33
38
;
34
39
35
40
#if DEBUG
Original file line number Diff line number Diff line change 71
71
</ItemGroup >
72
72
73
73
<ItemGroup >
74
- <PackageReference Include =" Microsoft.Data.Sqlite.Core" Version =" 7.0.10" />
74
+ <PackageReference Include =" BarcodeScanner.Mobile.Maui" Version =" 7.0.0.1-pre" />
75
+ <PackageReference Include =" Microsoft.Data.Sqlite.Core" Version =" 7.0.11" />
75
76
<PackageReference Include =" Microsoft.Extensions.Logging.Debug" Version =" 7.0.0" />
76
77
<PackageReference Include =" Nito.AsyncEx.Context" Version =" 5.1.2" />
77
- <PackageReference Include =" SQLitePCLRaw.bundle_e_sqlcipher" Version =" 2.1.5" />
78
+ <PackageReference Include =" SQLitePCLRaw.bundle_e_sqlcipher" Version =" 2.1.6" />
79
+ </ItemGroup >
80
+
81
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net7.0-android'" >
82
+ <PackageReference Include =" Xamarin.AndroidX.Activity.Ktx" Version =" 1.7.2.1" />
83
+ <PackageReference Include =" Xamarin.Google.MLKit.BarcodeScanning" Version =" 117.1.0.2" />
78
84
</ItemGroup >
79
85
80
86
<ItemGroup >
You can’t perform that action at this time.
0 commit comments