UrlChecker icon indicating copy to clipboard operation
UrlChecker copied to clipboard

"No apps" shown in URLcheck

Open 37hwk92AK opened this issue 1 year ago • 15 comments

Steps to reproduce

  1. Click on a link in any app
  2. URLcheck opens automatically (because set as default browser)
  3. it shows "no apps" to open the cleaned link with

Expected behavior

Expected is that any browser should be shown (as it did usually but after updating to v2.15 this bug seem to appear)

Actual behavior

No apps shown as you can see in the screenshot

URLCheck version

2.15

Android version

13

Android Custom/Specific ROM or Device

Stock

Other details

d617fa94-de19-4f7c-a16b-a7c7110f08ea

Acknowledgements

  • [X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • [X] I have written a short but informative title.
  • [X] I will fill out all of the requested information in this form.

37hwk92AK avatar Apr 20 '24 09:04 37hwk92AK

That's really odd, I don't remember any change in the v2.15 that may explain the issue... That means that, for some reason, Android isn't returning the available list of apps (or maybe there is a bug in the code, but that's less probable). Hmm, just to confirm: can you try disabling (if not already) both of the 'hide...' options in the open&share module? (the two last options: 'hide the source app' and 'hide app if URL was rejected')

TrianguloY avatar Apr 20 '24 15:04 TrianguloY

Sure, so I checked the options in open and share module, this was the case: 8c5ec61f-1a71-4edb-8172-ee7eb81a7b83 After disabling "Hide app if URL..." and trying again, unfortunately no luck.

37hwk92AK avatar Apr 20 '24 20:04 37hwk92AK

have you tried restarting the device?

This happens to me after I update the app from Play Store. after a restart the issue will be fixed for me

mage1k99 avatar Apr 25 '24 13:04 mage1k99

I was having a similar issue after I changed the method of installation.

Restarting resolved the issue.

realAllonZ avatar Apr 29 '24 13:04 realAllonZ

It's really odd that a restart is required, but I'll keep that in mind if it is reported again. Thanks for the solution! I hope the original poster issue was solved with it too.

TrianguloY avatar Apr 29 '24 15:04 TrianguloY

also ran into this bug after my phone randomly restarted itself can confirm that (re)restarting the phone manually made the app work correctly again

EDIT: several restarts later, it seems the issue happens with every other restart. As in, one restart makes the issue happen, a second restart solves it, a third brings it back, a fourth solves it again, and so on...

btw I'm on a samsung a32, android 13, oneUI 5.1

MateusAuri avatar May 08 '24 09:05 MateusAuri

Hi guys, thanks for follow-up, tbh not sure why but after some time it solved. Could be because of restarting but can't confirm

37hwk92AK avatar May 17 '24 09:05 37hwk92AK

The exact issue is happening for me too, also when it shows there are no lost of browsers instead it shows be only one browser

harishbewe avatar May 18 '24 14:05 harishbewe

@TrianguloY how can we help regarding this?

mage1k99 avatar May 18 '24 15:05 mage1k99

@TrianguloY how can we help regarding this?

I honestly have no idea, both about the issue itself and how to fix and solve it. I added the label to mark that this needs help from someone who knows about this specific android feature. Or maybe it's a bug in the app code (unlikely but not impossible). In any case, without a way to debug what is really happening it's very difficult to know.

Hmm, that gave me an idea, I'll add the output of the android call to the debug module, that way when the bug happens you should be able to see and copy that information and at least know if the issue is with android itself or with the app.

TrianguloY avatar May 19 '24 07:05 TrianguloY

Happend to me again. But restarting did not help this time.

Seems to be related to Issue #353.

Anyone having this issue not on Samsung?

realAllonZ avatar May 23 '24 12:05 realAllonZ

I'm using samsung device, did not get the update yet. will update here once I get an update

mage1k99 avatar May 23 '24 12:05 mage1k99

Further evidence that the problem is not on URLcheck itself... on one of the restarts with the issue, I tried to use Chrome Remote Desktop and it threw an error saying "This app requires Google Chrome to render its web content. To continue in the app, please install Google Chrome. [...]" even though Chrome is already installed. I'll add the debug module and edit this comment if I find anything useful

EDIT: ok, I got to compare the debug output between occurrences with and without the bug... the difference between both, when clicking the same link is that queryIntentActivities and queryIntentActivityOptions appear empty (just "[]"), and Referrer appears as "null" when clicking a link from an app that isn't URLChecker itself

i.e. going into Bluesky and clicking a YouTube link:

Intent:
//SAME AS WHEN IT WORKS PROPERLY

queryIntentActivities:
[]

queryIntentActivityOptions:
[]

UrlData:
//SAME AS WHEN IT WORKS PROPERLY

GlobalData:
{}

Referrer:
null

clicking URLChecker's own test URL:

Intent:
//SAME AS WHEN IT WORKS PROPERLY

queryIntentActivities:
[]

queryIntentActivityOptions:
[]

UrlData:
//SAME AS WHEN IT WORKS PROPERLY

GlobalData:
{}

Referrer:
com.trianguloy.urlchecker

so I guess something in the system is blocking URLChecker's access to the list of apps except itself... but just sometimes?

MateusAuri avatar Jul 28 '24 00:07 MateusAuri