File tree Expand file tree Collapse file tree 3 files changed +20
-8
lines changed
samples/Plugin.Maui.OtpReader.Sample
src/Plugin.Maui.OtpReader Expand file tree Collapse file tree 3 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 99
1010## Install Plugin
1111
12- [ ![ NuGet] ( https://img.shields.io/nuget/v/Plugin.Maui.Feature.svg?label=NuGet )] ( https://www.nuget.org/packages/Plugin.Maui.OtpReader/ )
12+ [ ![ NuGet] ( https://img.shields.io/nuget/v/Plugin.Maui.OtpReader )] ( https://www.nuget.org/packages/Plugin.Maui.OtpReader/ )
1313
1414
1515Available on [ NuGet] ( http://www.nuget.org/packages/Plugin.Maui.OtpReader ) .
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net10.0-android;net10.0-ios;net10.0-maccatalyst</TargetFrameworks >
4+ <TargetFrameworks >net10.0-android;net9.0-android; net10.0-ios;net9.0-ios; net10.0-maccatalyst;net9.0-maccatalyst; </TargetFrameworks >
55 <TargetFrameworks Condition =" $([MSBuild]::IsOSPlatform('windows'))" >$(TargetFrameworks);net10.0-windows10.0.19041.0</TargetFrameworks >
66 <!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
77 <!-- <TargetFrameworks>$(TargetFrameworks);net10.0-tizen</TargetFrameworks> -->
5151
5252 <ItemGroup >
5353 <ProjectReference Include =" ..\..\src\Plugin.Maui.OtpReader\Plugin.Maui.OtpReader.csproj" />
54- <PackageReference Include =" Microsoft.Maui.Controls" Version =" 10.0.20 " />
54+ <PackageReference Include =" Microsoft.Maui.Controls" Version =" $(MauiVersion) " />
5555 </ItemGroup >
5656</Project >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFrameworks >net10.0-android;net10.0-ios;net10.0-maccatalyst;net10.0</TargetFrameworks >
3+ <TargetFrameworks >net10.0-android;net9.0-android; net10.0-ios;net9.0-ios; net10.0-maccatalyst;net9.0-maccatalyst; net10.0;net9 .0</TargetFrameworks >
44 <TargetFrameworks Condition =" $([MSBuild]::IsOSPlatform('windows'))" >$(TargetFrameworks);net10.0-windows10.0.19041.0</TargetFrameworks >
55 <SingleProject >true</SingleProject >
66 <ImplicitUsings >enable</ImplicitUsings >
7575 </ItemGroup >
7676
7777 <ItemGroup >
78- <PackageReference Include =" Microsoft.Maui.Controls" Version =" 10.0.20 " />
78+ <PackageReference Include =" Microsoft.Maui.Controls" Version =" $(MauiVersion) " />
7979 <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" all" IsImplicitlyDefined =" true" />
8080 <PackageReference Include =" System.Management" Version =" 10.0.1" Condition =" $(TargetFramework.Contains('-windows')) == true" />
81- <PackageReference Include =" Xamarin.GooglePlayServices.Auth" Version =" 121.4.0.1" Condition =" $(TargetFramework.Contains('-android')) == true" />
82- <PackageReference Include =" Xamarin.AndroidX.Fragment.Ktx" Version =" 1.8.9" Condition =" $(TargetFramework.Contains('-android')) == true" />
8381 </ItemGroup >
84-
82+
83+
84+
85+ <!-- Android Packages -->
86+ <ItemGroup Condition =" $(TargetFramework.Contains('-android'))" >
87+ <PackageReference Include =" Xamarin.GooglePlayServices.Auth" Version =" 121.4.0.1" />
88+ <PackageReference Include =" Xamarin.AndroidX.Fragment.Ktx" Version =" 1.8.9" />
89+
90+ <PackageReference Include =" Xamarin.AndroidX.Lifecycle.Process" Version =" 2.9.2.1" />
91+ <PackageReference Include =" Xamarin.AndroidX.Lifecycle.LiveData" Version =" 2.9.2.1" />
92+ <PackageReference Include =" Xamarin.AndroidX.Lifecycle.LiveData.Core" Version =" 2.9.2.1" />
93+ <PackageReference Include =" Xamarin.AndroidX.Lifecycle.LiveData.Core.Ktx" Version =" 2.9.2.1" />
94+ </ItemGroup >
95+
96+
8597</Project >
You can’t perform that action at this time.
0 commit comments