Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
discussions: write

env:
DOTNET_VERSION: '9.0.x'
DOTNET_VERSION: '10.0.x'
CONFIGURATION: Release

jobs:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[![NuGet Downloads](https://img.shields.io/nuget/dt/Eightbot.MauiNativePdfView.svg)](https://www.nuget.org/packages/EightBot.MauiNativePdfView/)

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![.NET](https://img.shields.io/badge/.NET-9.0-purple.svg)](https://dotnet.microsoft.com/download)
[![.NET](https://img.shields.io/badge/.NET-10.0-purple.svg)](https://dotnet.microsoft.com/download)
[![MAUI](https://img.shields.io/badge/MAUI-Latest-green.svg)](https://github.com/dotnet/maui)

**Native PDF rendering** • **Zero web dependencies** • **Full feature parity**
Expand Down Expand Up @@ -83,7 +83,7 @@ Install-Package MauiNativePdfView

### Requirements

- **.NET 9.0** or later
- **.NET 10.0** or later
- **iOS 12.2+** (PDFKit)
- **Android 7.0+** (API 24+)

Expand Down
8 changes: 4 additions & 4 deletions samples/MauiPdfViewerSample/MauiPdfViewerSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<!-- Focus on Android and iOS for PDF viewer testing -->
<TargetFrameworks>net9.0-android;net9.0-ios</TargetFrameworks>
<TargetFrameworks>net10.0-android;net10.0-ios</TargetFrameworks>

<OutputType>Exe</OutputType>
<RootNamespace>MauiPdfViewerSample</RootNamespace>
Expand Down Expand Up @@ -44,9 +44,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="12.3.0" />
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.120" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
<PackageReference Include="CommunityToolkit.Maui" Version="14.2.0" />
<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.80" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.9" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0-android</TargetFramework>
<TargetFramework>net10.0-android</TargetFramework>
<SupportedOSPlatformVersion>24</SupportedOSPlatformVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down Expand Up @@ -32,6 +32,6 @@
<ItemGroup>
<!-- Kotlin standard library dependency -->
<PackageReference Include="Xamarin.Kotlin.StdLib"
Version="2.1.21" />
Version="2.4.0.1" />
</ItemGroup>
</Project>
85 changes: 43 additions & 42 deletions src/MauiNativePdfView/MauiNativePdfView.csproj
Original file line number Diff line number Diff line change
@@ -1,45 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net9.0-android;net9.0-ios</TargetFrameworks>
<!-- Removed Mac Catalyst and Windows for initial implementation -->
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- Package Information -->
<PackageId>Eightbot.MauiNativePdfView</PackageId>
<Version>1.0.0</Version>
<Authors>MauiNativePdfView Contributors</Authors>
<Company>EighthBot, Inc.</Company>
<Product>MauiNativePdfView</Product>
<Description>High-performance, cross-platform PDF viewer for .NET MAUI using native controls. Features native PDF rendering with PDFKit (iOS) and AhmerPdfium (Android), zero web dependencies, full annotation support, and comprehensive event system.</Description>
<PackageProjectUrl>https://github.com/TheEightBot/MauiNativePdfView</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/TheEightBot/MauiNativePdfView</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>maui;pdf;pdfviewer;ios;android;pdfkit;ahmer-pdfium;native;cross-platform;annotations</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>icon.png</PackageIcon>
<Copyright>Copyright (c) 2025 MauiNativePdfView Contributors</Copyright>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">12.2</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">24.0</SupportedOSPlatformVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls"
Version="9.0.0" />
</ItemGroup>
<!-- Package content -->
<ItemGroup>
<None Include="..\..\README.md"
Pack="true"
PackagePath="\" />
<None Include="..\..\images\icon.png"
Pack="true"
PackagePath="\" />
</ItemGroup>
<!-- Android-specific references -->
<ItemGroup Condition="$(TargetFramework.Contains('android'))">
<ProjectReference Include="..\MauiNativePdfView.Android.Binding\MauiNativePdfView.Android.Binding.csproj" />
</ItemGroup>
<PropertyGroup>
<TargetFrameworks>net10.0-android;net10.0-ios</TargetFrameworks>
<!-- Removed Mac Catalyst and Windows for initial implementation -->
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- Package Information -->
<PackageId>Eightbot.MauiNativePdfView</PackageId>
<Version>1.0.0</Version>
<Authors>MauiNativePdfView Contributors</Authors>
<Company>EighthBot, Inc.</Company>
<Product>MauiNativePdfView</Product>
<Description>High-performance, cross-platform PDF viewer for .NET MAUI using native controls. Features native PDF rendering with PDFKit (iOS) and AhmerPdfium (Android), zero web dependencies, full annotation support, and comprehensive event system.</Description>
<PackageProjectUrl>https://github.com/TheEightBot/MauiNativePdfView</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/TheEightBot/MauiNativePdfView</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>maui;pdf;pdfviewer;ios;android;pdfkit;ahmer-pdfium;native;cross-platform;annotations</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>icon.png</PackageIcon>
<Copyright>Copyright (c) 2025 MauiNativePdfView Contributors</Copyright>
<SupportedOSPlatformVersion
Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"
>12.2</SupportedOSPlatformVersion
>
<SupportedOSPlatformVersion
Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'"
>24.0</SupportedOSPlatformVersion
>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.0" />
</ItemGroup>
<!-- Package content -->
<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
<None Include="..\..\images\icon.png" Pack="true" PackagePath="\" />
</ItemGroup>
<!-- Android-specific references -->
<ItemGroup Condition="$(TargetFramework.Contains('android'))">
<ProjectReference Include="..\MauiNativePdfView.Android.Binding\MauiNativePdfView.Android.Binding.csproj" />
</ItemGroup>
</Project>