Implement BmcSupporterService to verify supporters via BMC API with configurable caching. Add SupporterEmail and HideIfSupporter properties to all controls to automatically hide donation prompts for existing supporters. Replace PNG logo with SVG for crisp rendering at all scales. Add BmcOptions and BmcConfiguration for library-wide settings. Bump version to 1.1.0.
62 lines
3.4 KiB
XML
62 lines
3.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net10.0-android</TargetFrameworks>
|
|
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('linux'))">$(TargetFrameworks);net10.0-ios;net10.0-maccatalyst</TargetFrameworks>
|
|
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net10.0-windows10.0.19041.0</TargetFrameworks>
|
|
|
|
<UseMaui>true</UseMaui>
|
|
<SingleProject>true</SingleProject>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
|
|
<!-- Enable XAML source generation for faster build times and improved performance.
|
|
This generates C# code from XAML at compile time instead of runtime inflation.
|
|
To disable, remove this line.
|
|
For individual files, you can override by setting Inflator metadata:
|
|
<MauiXaml Update="MyPage.xaml" Inflator="Default" /> (reverts to defaults: Runtime for Debug, XamlC for Release)
|
|
<MauiXaml Update="MyPage.xaml" Inflator="Runtime" /> (force runtime inflation) -->
|
|
<MauiXamlInflator>SourceGen</MauiXamlInflator>
|
|
|
|
<!-- NuGet Package Metadata -->
|
|
<PackageId>BuyMeCofee.Maui</PackageId>
|
|
<Title>Buy Me a Coffee MAUI Controls</Title>
|
|
<Description>Branded Buy Me a Coffee controls for .NET MAUI — button, support widget, and QR code with official BMC branding.</Description>
|
|
<Authors>David H Friedel Jr</Authors>
|
|
<Company>MarketAlly</Company>
|
|
<Copyright>Copyright © 2026 MarketAlly LLC</Copyright>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
<PackageProjectUrl>https://git.marketally.com/misc/bmc.maui</PackageProjectUrl>
|
|
<RepositoryUrl>https://git.marketally.com/misc/bmc.maui</RepositoryUrl>
|
|
<RepositoryType>git</RepositoryType>
|
|
<PackageTags>maui;buymeacoffee;bmc;donation;tip;controls</PackageTags>
|
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
<Version>1.1.0</Version>
|
|
<PackageReleaseNotes>v1.1.0: Crisp SVG branding via MAUI asset pipeline, supporter verification API (auto-hide controls for existing supporters), SupporterEmail/HideIfSupporter properties on all controls.</PackageReleaseNotes>
|
|
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
|
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion>
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion>
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
|
|
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
|
|
<PackageReference Include="QRCoder" Version="1.6.0" />
|
|
<PackageReference Include="SkiaSharp.Views.Maui.Controls" Version="3.116.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<MauiImage Include="Resources\Images\bmc_logo.svg" />
|
|
<EmbeddedResource Include="Resources\Images\bmc_logo.png"
|
|
LogicalName="BuyMeCofee.Maui.Resources.Images.bmc_logo.png" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="..\README.md" Pack="true" PackagePath="" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|