Google Play store normierung

This commit is contained in:
2026-04-03 16:08:58 +02:00
parent f346b34c05
commit c6391a384c
16 changed files with 448 additions and 9 deletions
+19
View File
@@ -11,11 +11,14 @@
<ApplicationId>com.companyname.cfstracker</ApplicationId>
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>
<NeutralLanguage>de-DE</NeutralLanguage>
<AppxDefaultResourceQualifiers>Language=de-DE|Contrast=standard|Scale=200|HomeRegion=001|TargetSize=256|LayoutDirection=LTR|DXFeatureLevel=DX9|Configuration=|AlternateForm=</AppxDefaultResourceQualifiers>
<WindowsPackageType>None</WindowsPackageType>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
<SupportedOSPlatformVersion>21.0</SupportedOSPlatformVersion>
<AndroidAapt2LinkExtraArgs>-c de</AndroidAapt2LinkExtraArgs>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">
<SupportedOSPlatformVersion>10.0.17763.0</SupportedOSPlatformVersion>
@@ -46,4 +49,20 @@
<PackageReference Include="System.Drawing.Common" Version="10.0.5" />
<PackageReference Include="Microsoft.Toolkit.Uwp.Notifications" Version="7.1.3" />
</ItemGroup>
<Target Name="CopyAndroidBundleToPublishFolder"
AfterTargets="Publish;SignAndroidPackage"
Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
<PropertyGroup>
<_AndroidSignedBundle>$(OutputPath)$(ApplicationId)-Signed.aab</_AndroidSignedBundle>
<_AndroidUnsignedBundle>$(OutputPath)$(ApplicationId).aab</_AndroidUnsignedBundle>
</PropertyGroup>
<ItemGroup>
<_AndroidBundleToPublish Include="$(_AndroidSignedBundle)" Condition="Exists('$(_AndroidSignedBundle)')" />
<_AndroidBundleToPublish Include="$(_AndroidUnsignedBundle)" Condition="!Exists('$(_AndroidSignedBundle)') and Exists('$(_AndroidUnsignedBundle)')" />
</ItemGroup>
<Copy SourceFiles="@(_AndroidBundleToPublish)"
DestinationFolder="$(PublishDir)"
SkipUnchangedFiles="true"
Condition="'@(_AndroidBundleToPublish)' != ''" />
</Target>
</Project>