Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No apps" shown in URLcheck #350

Open
3 tasks done
37hwk92AK opened this issue Apr 20, 2024 · 13 comments
Open
3 tasks done

"No apps" shown in URLcheck #350

37hwk92AK opened this issue Apr 20, 2024 · 13 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@37hwk92AK
Copy link

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

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.
@37hwk92AK 37hwk92AK added the bug Something isn't working label Apr 20, 2024
@TrianguloY
Copy link
Owner

TrianguloY commented Apr 20, 2024

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')

@37hwk92AK
Copy link
Author

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.

@mage1k99
Copy link

mage1k99 commented Apr 25, 2024

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

@realAllonZ
Copy link

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

Restarting resolved the issue.

@TrianguloY
Copy link
Owner

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.

@MateusAuri
Copy link

MateusAuri commented May 8, 2024

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

@37hwk92AK
Copy link
Author

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

@harishbewe
Copy link

harishbewe commented May 18, 2024

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

@TrianguloY TrianguloY added the help wanted Extra attention is needed label May 18, 2024
@mage1k99
Copy link

@TrianguloY how can we help regarding this?

@TrianguloY
Copy link
Owner

@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.

@realAllonZ
Copy link

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?

@mage1k99
Copy link

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

@MateusAuri
Copy link

MateusAuri commented Jul 28, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants