🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.software.firefox
Article #107

Re: Android Firefox does NOT show up in my WhatsApp PDF attachment OpenWith sheet

#107
From: Maria Sophia
Date: Sat, 31 Oct 2026 18:04
69 lines
4865 bytes
Andy Burns wrote:
> Maria Sophia wrote:
> 
>> Android Firefox does NOT show up in my WhatsApp
>>        PDF attachment OpenWith sheet
> As said, I can't test PDF from WhatsApp, but just sent myself an email 
> with to Thunderbird Android, and launching the PDF attachment offers to 
> open it with firefox/mupdf/gdrive-pdf-viewer/etc

Hi Andy,

I appreciate your response 'cuz I'm aware every response comes at a cost.
But, at least I always strive to make the value greater than the effort.

Thanks for testing it, as the goal is simply to get Firefox to be an option 
when we receive a PDF attachment in WhatsApp on Android (given, until RCS, 
we couldn't normally receive PDF attachments in our default text clients).

While Firefox & Thunderbird certainly might share ways of doing things, I 
think testing via Thunderbird (or email clients generally) may invoke 
broader MIME-type or generic file-sharing intent filters than the 
restricted set that WhatsApp's isolated document picker apparently uses.

When WhatsApp generates an "Open With" sheet for a local PDF, it's my 
understanding that Android queries the system resolver table to find apps 
that explicitly handle local content URIs and MIME types:

Testing that hypothesis, this says DocumentsUI is the sole default picker
í° c:\> adb shell cmd package resolve-activity --brief -t application/pdf -d content://com.whatsapp.provider.media/item/123
      priority=100 preferredOrder=0 match=0x608000 specificIndex=-1 
      isDefault=true com.google.android.documentsui/
      com.google.android.documentsui.picker.PickActivity
So I think my Samsung on Android13 is stripping out browsers that don't 
match local document views, which includes the installed Firefox browser.

To see why Firefox misses out on being an option for WA-attached PDFs,
we can inspect its registered intent filters directly via adb:

í° c:\> adb shell dumpsys package org.mozilla.firefox | grep -A 15 "MIME Typed Actions:"
      MIME Typed Actions:
          android.intent.action.SEND:
            2900abb org.mozilla.firefox/org.mozilla.fenix.IntentReceiverActivity filter 59cbd84
              Action: "android.intent.action.SEND"
              Category: "android.intent.category.DEFAULT"
              StaticType: "text/plain"
          android.intent.action.VIEW:
            2900abb org.mozilla.firefox/org.mozilla.fenix.IntentReceiverActivity filter 1aa9797
              Action: "android.intent.action.VIEW"
              Category: "android.intent.category.BROWSABLE"
              Category: "android.intent.category.DEFAULT"
              Scheme: "http"
              Scheme: "https"
              StaticType: "text/html"
              StaticType: "text/plain"
              StaticType: "application/xhtml+xml"

This implies that my Android Firefox build (v117.1.0) limits its ACTION_VIEW 
filters to web schemes (http/https) and web MIME types. If this is true,
Firefox is omitting local document types like application/pdf. 

So while an email client or general file manager hand-off might pass 
things differently or trigger a secondary share sheet, Android's package 
manager apparently restricts Firefox from showing up in WhatsApp's native
PDF document picker on my phone because the filter isn't in the manifest.

Yet, others say it shows up in theirs.
So I'm confused.
-- 
Sometimes it takes a group of people to come up with the perfect solution		.
Technical Details
Message-ID: <11c5aio$1lj0$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mail
References: <11c5409$2no9$1@nnrp.usenet.blueworldhosting.com> <nkmkk9Ff96lU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mail
From: Maria Sophia <mariasophia@comprehension.com>
Newsgroups: alt.comp.software.firefox
Subject: Re: Android Firefox does NOT show up in my WhatsApp PDF attachment OpenWith sheet
Date: Sat, 31 Oct 2026 14:04:09 -0400
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID: <11c5aio$1lj0$1@nnrp.usenet.blueworldhosting.com>
References: <11c5409$2no9$1@nnrp.usenet.blueworldhosting.com> <nkmkk9Ff96lU1@mid.individual.net>
Reply-To: pusvul@getTjewytR4so+mqe2.invalid
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 31 Oct 2026 18:04:09 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="l//KxG3Ge2LojWvwJg0Igv8F0ChK8RUC9RtOxMPUo3U"; posting-host="IfCZz72xNNlHXBkfV9B6WJEa9xVhaehMJfhAC6fCwnM";
	logging-data="54880"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Mojibake 1p3
Cancel-Lock: sha1:sGfnTB6wvcNIg+Cm20pb73PY77I= sha256:OtkBtHgpXVtYeEIy9V8F8U2YR8hxueU6FxRb9b3lHhc=
	sha1:4RbT/KlHedFn72v+ywc+p2AAaUU= sha256:gXVF7C4BTrTz4UvtZbaIw8u1NfpjpIs5yITo8qfPq4E=
Content-Language: en-GB