Andy Burns wrote:
>> My Firefox only registers handlers for web schemes (http/https) and >> specific text types (text/plain, application/xhtml+xml), alongside a >> generic share receiver (ACTION_SEND).
>>> [snip detail]
>> >> Notice the absence of any local document types like application/pdf >> or local file schemes under ACTION_VIEW.
> Presumably your Firefox is *not* installed from the Play Store? > Mine is, so I assume a different build, or different manifest ...
Hi Andy/Carlos, Maybe that's it. Certainly things are DIFFERENT in Android 14: <https://developer.android.com/about/versions/14/features#sharesheet-improvements> <https://9to5google.com/2023/07/13/android-14-beta-tweaks-share-sheet/> <https://www.esper.io/blog/android-14-share-sheet-improvements> But then that makes this whole concept even more capricious than it was. If each of us has the same apps installed, and yet each of us get different "ShareTo/OpenWith" options, and, I've proved, every time I run them, I can get a *different* set of selections, this is about as capricious as can be. I don't remember where I get any of my apps, but certainly some come from Github, while others come from F-Droid, and others from the Google Play Store repository (via the Aurora Google Play Store replacement app). Let's look: C:\> adb shell dumpsys package org.mozilla.firefox | grep -E "installerPackageName|userId|versionName" userId=10160 versionName=117.1.0 userId=10160 As you had surmised, installerPackageName=com.android.vending doesn't show up. Actually, no installer shows up at all. Hmmm... that's odd. It's the same for the WhatsApp (which I got from the WA server). C:\> adb shell dumpsys package com.whatsapp | grep -E "versionName|installerPackageName|userId" userId=10714 versionName=2.26.42.70 Let's check *something* that we *know* will be installed by the GPS. C:\> adb shell dumpsys package com.android.vending | grep -i "installerPackageName" installerPackageName=com.android.vending But I don't "think" that's the smoking gun because when Firefox and WhatsApp return null or omit that line on my phone, it only confirms they were not registered via the Play Store's installer database on this setup. However, as established earlier by the package manifests, even if Firefox were installed straight from the Play Store, its source manifest structurally omits local PDF ACTION_VIEW filters anyway. If someone else would run the adb commands to prove that, it would help. Or, if someone could show screenshots like I did, showing FF there. . REFERENCES: https://www.androidcentral.com/apps-software/android-14-review https://developer.android.com/develop/ui/compose/sharing/send https://9to5google.com/2023/03/29/android-14-share-sheet/