tasomaniac / OpenLinkWith

Open the current webpage you have in another app. Magic! 🔮
https://play.google.com/store/apps/details?id=com.tasomaniac.openwith
Apache License 2.0
393 stars 33 forks source link

Some apps disappear from the list if their ability to automatically open links is disabled from system settings #110

Open pressRtowin opened 8 months ago

pressRtowin commented 8 months ago

Mostly copied from https://github.com/TrianguloY/UrlChecker/issues/332:

Steps to reproduce

  1. Install an affected app. I only know of these two at the moment, but there are more than likely more cases I haven't noticed or discovered yet.
    • Amazon
    • Zoho Meeting
  2. For Samusng/One UI phones, open Settings --> Apps --> Choose default apps --> Opening links --> and disable the toggle next to "Open supported links"
    • Exact steps to access that setting is different on other Android skins.
  3. I honestly have no clue what needs to happen next. Just wait. Use your phone as usual. Maybe restart it a few times. This might take minutes. This might take days. I've found no repeatable pattern.
  4. Open a link that is typically supported by the affected app in OpenLinkWith. It will be missing from the app list.
  5. Go back to the system settings and enable the disabled option.
  6. Again, this change is not always immediate. Wait around for some amount of time again, and the app eventually reappears in OpenLinkWith.

Expected behavior

All apps that are verified link handlers should always be shown within OpenLinkWith's app list.

Actual behavior

Certain affected apps will randomly disappear after some time passes if their ability to automatically open links is disabled in system settings.

Android version

Android 14

Android Custom/Specific ROM or Device

One UI 6.0

Other details

This behavior was originally noticed in LinkSheet, which has since fixed the problem in the commits referenced in this issue: https://github.com/1fexd/LinkSheet/issues/349. Further testing lead me to realize that OpenLinkWith also exhibited the same behavior.