|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 | <PropertyGroup> |
3 | | - <TargetFrameworks>net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst;net8.0-macos</TargetFrameworks> |
4 | | - <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks> |
| 3 | + <TargetFrameworks>net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst;net8.0-macos;net9.0;net9.0-android;net9.0-ios;net9.0-maccatalyst;net9.0-macos</TargetFrameworks> |
| 4 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0;net9.0-windows10.0.19041.0</TargetFrameworks> |
5 | 5 | <LangVersion>latest</LangVersion> |
6 | | - <UseMaui Condition="'$(TargetFramework)' != 'net8.0'">true</UseMaui> |
7 | | - <UseMauiEssentials Condition="'$(TargetFramework)' != 'net8.0'">true</UseMauiEssentials> |
8 | 6 | <SingleProject>true</SingleProject> |
9 | 7 | <AssemblyName>Plugin.InAppBilling</AssemblyName> |
10 | 8 | <RootNamespace>Plugin.InAppBilling</RootNamespace> |
11 | 9 | <Product>$(AssemblyName) ($(TargetFramework))</Product> |
12 | | - <AssemblyVersion>7.0.0.0</AssemblyVersion> |
13 | | - <AssemblyFileVersion>7.0.0.0</AssemblyFileVersion> |
14 | | - <Version>7.0.0.0</Version> |
| 10 | + <AssemblyVersion>9.0.0.0</AssemblyVersion> |
| 11 | + <AssemblyFileVersion>9.0.0.0</AssemblyFileVersion> |
| 12 | + <Version>9.0.0.0</Version> |
15 | 13 | <Authors>James Montemagno</Authors> |
16 | 14 | <IsPackable>True</IsPackable> |
17 | 15 | <PackageId>Plugin.InAppBilling</PackageId> |
|
44 | 42 |
|
45 | 43 | <!-- platform version number information --> |
46 | 44 | <PropertyGroup> |
47 | | - <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('ios'))">14.2</SupportedOSPlatformVersion> |
48 | | - <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('maccatalyst'))">14.0</SupportedOSPlatformVersion> |
49 | | - <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('macos'))">13.0</SupportedOSPlatformVersion> |
50 | | - <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('android'))">21.0</SupportedOSPlatformVersion> |
51 | | - <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('windows'))">10.0.17763.0</SupportedOSPlatformVersion> |
52 | | - <TargetPlatformMinVersion Condition="$(TargetFramework.Contains('windows'))">10.0.17763.0</TargetPlatformMinVersion> |
| 45 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion> |
| 46 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion> |
| 47 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
| 48 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
| 49 | + <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
| 50 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
53 | 51 | </PropertyGroup> |
54 | 52 |
|
55 | 53 | <PropertyGroup Condition=" '$(Configuration)'=='Debug' "> |
|
94 | 92 | <!-- Android --> |
95 | 93 |
|
96 | 94 | <ItemGroup Condition=" $(TargetFramework.Contains('-android')) "> |
97 | | - <PackageReference Include="Microsoft.Maui.Essentials" Version="$(MauiVersion)" /> |
98 | | - <PackageReference Include="Xamarin.Android.Google.BillingClient" Version="6.2.1" /> |
99 | | - <PackageReference Include="Xamarin.AndroidX.Activity"> |
100 | | - <Version>1.9.0.4</Version> |
101 | | - </PackageReference> |
102 | | - <PackageReference Include="Xamarin.AndroidX.Activity.Ktx"> |
103 | | - <Version>1.9.0.4</Version> |
104 | | - </PackageReference> |
105 | | - <PackageReference Include="Xamarin.AndroidX.Collection"> |
106 | | - <Version>1.4.0.6</Version> |
107 | | - </PackageReference> |
108 | | - <PackageReference Include="Xamarin.AndroidX.Collection.Ktx"> |
109 | | - <Version>1.4.0.5</Version> |
110 | | - </PackageReference> |
111 | | - <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData"> |
112 | | - <Version>2.8.3.1</Version> |
113 | | - </PackageReference> |
114 | | - <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData.Ktx"> |
115 | | - <Version>2.8.3.1</Version> |
116 | | - </PackageReference> |
117 | | - <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData.Core"> |
118 | | - <Version>2.8.3.1</Version> |
119 | | - </PackageReference> |
120 | | - <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData.Core.Ktx"> |
121 | | - <Version>2.8.3.1</Version> |
122 | | - </PackageReference> |
123 | | - <PackageReference Include="Xamarin.AndroidX.Lifecycle.Runtime"> |
124 | | - <Version>2.8.3.1</Version> |
125 | | - </PackageReference> |
126 | | - <PackageReference Include="Xamarin.AndroidX.Lifecycle.Runtime.Ktx"> |
127 | | - <Version>2.8.3.1</Version> |
128 | | - </PackageReference> |
129 | | - <PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModel"> |
130 | | - <Version>2.8.3.1</Version> |
131 | | - </PackageReference> |
132 | | - <PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModel.Ktx"> |
133 | | - <Version>2.8.3.1</Version> |
134 | | - </PackageReference> |
135 | | - <PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModelSavedState"> |
136 | | - <Version>2.8.3.1</Version> |
137 | | - </PackageReference> |
| 95 | + <PackageReference Include="Xamarin.Android.Google.BillingClient" Version="7.1.1.1" /> |
| 96 | + </ItemGroup> |
| 97 | + |
| 98 | + <ItemGroup Condition=" $(TargetFramework.Contains('net8.0-android')) "> |
| 99 | + <PackageReference Include="Microsoft.Maui.Essentials" Version="8.0.100" /> |
138 | 100 | </ItemGroup> |
| 101 | + |
| 102 | +<ItemGroup Condition=" $(TargetFramework.Contains('net9.0-android')) "> |
| 103 | + <PackageReference Include="Microsoft.Maui.Essentials" Version="9.0.10" /> |
| 104 | + </ItemGroup> |
| 105 | + |
139 | 106 |
|
140 | 107 | <ItemGroup Condition="$(TargetFramework.StartsWith('net')) == true AND $(TargetFramework.Contains('-android')) != true"> |
141 | 108 | <Compile Remove="**\**\*.android.cs" /> |
|
0 commit comments