PDF Opening Issues

Fix PDF Not Opening in SharePoint Android App via SPFx Web Part

Camila MilosovichCamila Milosovich Nov 2, 2026 870 views

Question details

Users are unable to open PDF files on the SharePoint Android app when the link is generated by an Azure Logic App via a custom SPFx web part.

How to Fix PDF Not Opening in the SharePoint Android App via SPFx
Product
SharePoint Android App
Device & OS
Android
Scenario
Accessing an Azure Blob Storage PDF URL returned by a custom SPFx web part within the SharePoint mobile environment.
Observed behavior
The PDF opens successfully in the SharePoint iOS app but fails to load or open entirely in the SharePoint Android app.
Before you start

Verify that the Azure Blob Storage URL is publicly accessible or correctly authenticated, and take note of the exact error message displayed on your Android device.

Solution 1Recommended

Request Specialized Support in the SharePoint Development Forum

Because this issue involves customized SPFx web parts and platform-specific behaviors, posting in Microsoft's developer forums is the most effective way to resolve the underlying bug.

Differences in how iOS and Android handle embedded links, web views, and file intents often cause custom SPFx web parts to behave inconsistently. Resolving this typically requires modifying the SPFx code to handle Android's specific URL routing or reporting a bug to the Microsoft SharePoint team.

1
Gather implementation details

Document your SPFx web part code, the Azure Logic App configuration, and the exact URL format returned by Azure Blob Storage. Make sure to redact any sensitive credentials, tokens, or private domain names.

2
Capture the Android error

Take a screenshot of the SharePoint Android app when the failure occurs, or carefully write down any error codes or blank screen behaviors presented during the attempt to open the PDF.

3
Post to the developer forum

Navigate to the Microsoft Q&A platform or the SharePoint Development Tech Community forum. Create a new thread describing the discrepancy between the iOS and Android SharePoint apps, and include the technical details you gathered.

Protect your data: Never share your actual Azure SAS tokens or tenant IDs when posting in public developer forums.
Free Microsoft Office alternative

Open and Edit PDFs on Android with WPS Office

If native Microsoft apps on Android are struggling to open custom PDF links, try downloading the file and opening it with WPS Office. It provides a lightweight, highly compatible environment for viewing, editing, and annotating PDFs on mobile devices without relying on complex web part integrations.

  1. 1. Install WPS Office: Download and install WPS Office for Android from the Google Play Store.
  2. 2. Download the PDF: Copy the Azure Blob Storage URL and paste it into your Android device's standard web browser (like Chrome) to download the PDF locally.
  3. 3. Open with WPS: Locate the downloaded PDF in your device's file manager and select WPS Office to open, view, and edit the document seamlessly.
Highly compatible with Microsoft Office formats and standard PDFs.Reliable and fast PDF viewer for all Android mobile devices.Lightweight architecture that prevents crashes when opening large files.Free to use with a familiar, user-friendly mobile interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why do PDF URLs open in the SharePoint iOS app but not on Android?

Android and iOS operating systems handle file intents and in-app web views differently. A custom SPFx web part returning a direct blob URL might trigger a file download intent on Android that the SharePoint app container blocks or mishandles, whereas iOS natively renders the PDF inside its Safari web view component.

How can I bypass the SharePoint app to open the PDF on Android?

You can modify your SPFx web part code to force the link to open in the device's default external browser (such as Google Chrome) by using target='_blank' or specific intent URLs, rather than trying to open it natively within the SharePoint app container.

Does Azure Blob Storage require specific headers for Android PDF viewing?

Yes. Ensure that your Azure Blob Storage is configured to return the correct 'Content-Type: application/pdf' header. Additionally, setting the 'Content-Disposition' header to 'inline' instead of 'attachment' can help mobile browsers and apps recognize that the file should be displayed rather than strictly downloaded.