Nutrient.dotnet.Android
11.0.0
Prefix Reserved
dotnet add package Nutrient.dotnet.Android --version 11.0.0
NuGet\Install-Package Nutrient.dotnet.Android -Version 11.0.0
<PackageReference Include="Nutrient.dotnet.Android" Version="11.0.0" />
<PackageVersion Include="Nutrient.dotnet.Android" Version="11.0.0" />
<PackageReference Include="Nutrient.dotnet.Android" />
paket add Nutrient.dotnet.Android --version 11.0.0
#r "nuget: Nutrient.dotnet.Android, 11.0.0"
#:package Nutrient.dotnet.Android@11.0.0
#addin nuget:?package=Nutrient.dotnet.Android&version=11.0.0
#tool nuget:?package=Nutrient.dotnet.Android&version=11.0.0
Nutrient.NET (Android)
The Nutrient SDK is a framework that allows you to view, annotate, sign, and fill PDF forms on iOS, Android, Windows, macOS, and Web.
Nutrient Instant adds real-time collaboration features to seamlessly share, edit, and annotate PDF documents.
Integration
Check your .csproj file to determine which integration method to follow:
- Single platform (e.g.,
<TargetFramework>net10.0-android</TargetFramework>) - Follow .NET for Android - Multiple platforms (e.g.,
<TargetFrameworks>net10.0-android;net10.0-ios</TargetFrameworks>) - Follow .NET MAUI (Android)
.NET for Android
- Add NuGet package to your
.csprojfile:
<ItemGroup>
<PackageReference Include="Nutrient.dotnet.Android" Version="$VERSION$" />
</ItemGroup>
- Initialize Nutrient in your
MainActivity.cs:
NutrientGlobal.Initialize(this, licenseKey: null);
- Display a PDF using
PdfActivity
.NET MAUI (Android)
- Add NuGet package conditionally for Android in your
.csprojfile:
<Choose>
<When Condition="'$(TargetFramework)' == 'net10.0-android'">
<ItemGroup>
<PackageReference Include="Nutrient.dotnet.Android" Version="$VERSION$" />
</ItemGroup>
</When>
</Choose>
Create the shared PdfView in
Views/PdfView.csCreate the handler interface in
Views/IPdfViewHandler.csCreate the Android platform handler in
Platforms/Android/Handlers/PdfViewHandler.csRegister the handler in
MauiProgram.csUse PdfView in a XAML page - see
Examples/Playground.xamlandExamples/Playground.xaml.cs
Support
Nutrient offers support via https://support.nutrient.io/hc/en-us/requests/new.
Are you evaluating our SDK? That's great, we're happy to help out! To make sure this is fast, please use a work email and have someone from your company fill out our sales form: https://www.nutrient.io/contact-sales?=sdk
Visit https://www.nutrient.io/guides/android/dotnet/ for more information on how to setup and use the SDK.
Examples
Examples are available at
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. |
-
net10.0-android36.0
- Square.OkHttp3 (>= 4.12.0.2)
- Xamarin.Android.ReactiveX.RxJava3.RxAndroid (>= 3.0.2.8)
- Xamarin.Android.ReactiveX.RxJava3.RxJava (>= 3.1.12.1)
- Xamarin.AndroidX.AppCompat (>= 1.7.1.2)
- Xamarin.AndroidX.Browser (>= 1.8.0)
- Xamarin.AndroidX.CardView (>= 1.0.0.37)
- Xamarin.AndroidX.Compose.Material3 (>= 1.4.0.1)
- Xamarin.AndroidX.Compose.Runtime (>= 1.10.0.1)
- Xamarin.AndroidX.Compose.Runtime.RxJava3 (>= 1.10.0.1)
- Xamarin.AndroidX.Compose.UI (>= 1.10.0.1)
- Xamarin.AndroidX.Compose.UI.Geometry (>= 1.10.0.1)
- Xamarin.AndroidX.ConstraintLayout (>= 2.2.1.4)
- Xamarin.AndroidX.Core (>= 1.17.0.1)
- Xamarin.AndroidX.ExifInterface (>= 1.4.2.1)
- Xamarin.AndroidX.Fragment (>= 1.8.9.1)
- Xamarin.AndroidX.Fragment.Ktx (>= 1.8.9.1)
- Xamarin.AndroidX.GridLayout (>= 1.1.0.4)
- Xamarin.AndroidX.Legacy.Support.V4 (>= 1.0.0.23)
- Xamarin.AndroidX.Lifecycle.Common (>= 2.10.0.1)
- Xamarin.AndroidX.Lifecycle.LiveData (>= 2.10.0.1)
- Xamarin.AndroidX.Lifecycle.LiveData.Core (>= 2.10.0.1)
- Xamarin.AndroidX.Lifecycle.Runtime (>= 2.10.0.1)
- Xamarin.AndroidX.Lifecycle.ViewModel (>= 2.10.0.1)
- Xamarin.AndroidX.MultiDex (>= 2.0.1.23)
- Xamarin.AndroidX.Palette (>= 1.0.0.23)
- Xamarin.AndroidX.Preference (>= 1.2.1.4)
- Xamarin.AndroidX.RecyclerView (>= 1.4.0.4)
- Xamarin.AndroidX.ViewPager2 (>= 1.1.0.9)
- Xamarin.AndroidX.WebKit (>= 1.15.0.1)
- Xamarin.Google.Android.Material (>= 1.13.0.1)
- Xamarin.Kotlin.Parcelize.Runtime (>= 2.3.0.1)
- Xamarin.Kotlin.StdLib (>= 2.3.0.1)
- Xamarin.Kotlin.StdLib.Jdk8 (>= 2.3.0.1)
- Xamarin.KotlinX.Coroutines.Rx3 (>= 1.10.2.2)
- Xamarin.KotlinX.Serialization.Json.Jvm (>= 1.9.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
For changelog go to: https://www.nutrient.io/guides/android/changelog/