Use IronPDF on Android with MAUI
IronPDF is equipped to run as a remote service, offering improved convenience, performance, and deployability. Many customers are already using this technology to run IronPDF in a Docker container alongside their main applications.
The IronPdf.Server.Azure NuGet package now enables running IronPDF in the cloud, making it easy to use IronPDF across any platform, including mobile!
For your convenience, you can clone a GitHub repository on the right side.
<!-- Azure App Service host project: reference IronPdf.Server.Azure to run IronPDF in the cloud -->
<Project>
<ItemGroup>
<PackageReference Include="IronPdf.Server.Azure" Version="2026.*" />
</ItemGroup>
</Project>
<!-- Android MAUI client project: reference the standard IronPdf package -->
<Project>
<ItemGroup>
<PackageReference Include="IronPdf" Version="2026.*" />
</ItemGroup>
</Project>
How to use IronPDF on MAUI Android
- Download the C# library to render PDF files on Android
- Configure the Azure App Service
- Configure the Android MAUI client
- Generate and edit PDFs on Android with ease
- Download the project for a fast start
Azure App Service Host
- Create a new Azure BLOB Storage Container.
- Create a new Azure App Service and App Service Plan. We suggest Basic B2 plan or greater, but Free F1 should be sufficient to get started.
- Navigate to the Settings/Configuration section of your Web app and set the following values:
BLOB_STORAGE_CONNECTION: You can configure a connection string according to the format outlined by Microsoft.BLOB_STORAGE_CONTAINER: This is just the name of the container within the storage account.HTTP20_ONLY_PORT: Must be set to 80.
- Using Visual Studio, open the example Azure App Service Linux Container app,
IronPdf.Android.Server.csproj. - Create a new publish profile which targets the Azure App Service you created in step 2.
- Publish your app!
- After several minutes, you should be able to verify your app is successfully published by navigating to the URL in a browser, which will print a simple debug string.
Android MAUI Client
- Using Visual Studio, open the example MAUI Android application,
IronPdf.Android.Client.csproj. - Within
MainPage.xaml.cs, set your license key or remove this line to generate watermarked documents. - Within
MainPage.xaml.cs, change theHost = "https://YOUR-APP-SERVICE.azurewebsites.net/"line to your Azure App Service which is hosting IronPDF. - Run the demo on an Android device which supports API 21.0 or higher.
// MainPage.xaml.cs Sample Code
using System; // Importing necessary namespaces
namespace IronPdf.Maui
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
// Change this to your Azure App Service URL
var pdfServiceUrl = "https://YOUR-APP-SERVICE.azurewebsites.net/";
// Your PDF generation and manipulation logic here
}
}
}' MainPage.xaml.cs Sample Code
Imports System ' Importing necessary namespaces
Namespace IronPdf.Maui
Partial Public Class MainPage
Inherits ContentPage
Public Sub New()
InitializeComponent()
' Change this to your Azure App Service URL
Dim pdfServiceUrl = "https://YOUR-APP-SERVICE.azurewebsites.net/"
' Your PDF generation and manipulation logic here
End Sub
End Class
End NamespaceNOTE: Depending on your plan settings, the first render may take a while as your Azure App Service is started for the first time.
Frequently Asked Questions
What is IronPDF?
IronPDF is a powerful library designed for generating and manipulating PDF files. It is equipped to run as a remote service and can be used across various platforms, including Android with MAUI.
How can I use IronPDF on an Android device?
To use IronPDF on Android, you need to set it up with MAUI. You will configure the Azure App Service and the Android MAUI client, then generate and edit PDFs on your Android device.
Which NuGet packages are required for IronPDF on Android?
For deploying IronPDF on the cloud, use the IronPdf.Server.Azure NuGet package. For Android MAUI projects, reference the standard IronPdf package.
What are the initial steps for setting up an Azure App Service Host for IronPDF?
Start by creating a new Azure BLOB Storage Container and a new Azure App Service with an App Service Plan. Configure necessary settings such as connection strings and HTTP ports.
What Android API level is required to run the IronPDF MAUI demo?
The IronPDF MAUI demo requires an Android device that supports API level 21.0 or higher.
How do I configure the IronPDF Android MAUI client?
Open the MAUI Android application in Visual Studio, set your license key in MainPage.xaml.cs, and change the Host URL to your Azure App Service hosting IronPDF.
What should I do if my first render with IronPDF takes longer than expected?
The first render may take a while as your Azure App Service starts for the first time, depending on your plan settings.
Can IronPDF be used with a Docker container?
Yes, IronPDF can be run inside a Docker container, which enhances its convenience, performance, and deployability.
Is there a quick-start project available for using IronPDF on Android with MAUI?
Yes, you can download the project from GitHub to get started quickly with IronPDF on Android using MAUI.
Why would I choose a Basic B2 plan over a Free F1 plan for the Azure App Service?
While Free F1 plans are sufficient for getting started, a Basic B2 plan or greater offers enhanced performance and capabilities for running IronPDF in the cloud.

Curtis Chau holds a Bachelor’s degree in Computer Science (Carleton University) and specializes in front-end development with expertise in Node.js, TypeScript, JavaScript, and React. Passionate about crafting intuitive and aesthetically pleasing user interfaces, Curtis enjoys working with modern frameworks and creating well-structured, visually appealing manuals.