daverix / urlforwarder

Enables you to use bookmarklets on Android
GNU General Public License v3.0
44 stars 7 forks source link

version 0.4 keeps crashing #11

Closed Maexotic closed 3 years ago

Maexotic commented 3 years ago

Model: Samsung SM-G96F (S9+) Samsung Android 10 (all patches applied)

Since the 0.4 update the app keeps crashing. Doesn't even try to connect to the URL it should forward to.

daverix commented 3 years ago

I'll take a look as soon as possible!

daverix commented 3 years ago

Can you share a filter where it crashes?

daverix commented 3 years ago

@Maexotic Can you try 0.4.2?

Maexotic commented 3 years ago

I have written my own tiny little bookmark system. I just call an endpoint written in django with .../add/url?url=@url&topic=incoming It happpend for like 10 different URLs I have tried from Google Chrome via "Share".

I have now installed 0.4.2. Now I get a overlay window saying in Google Chrome via "Share": "no app found matching <configured backend URL with @url not substituted>" (also tried from YouTube, got the same window).

I have even reset all app preferences, same result.

daverix commented 3 years ago

Ok, does your url start with http or https? I shouldn't have changed anything in the Intent used to open other apps, but maybe there is a new behavior when targeting later Android versions.

I could also add the whole url to the error message if that would help.

Maexotic commented 3 years ago

I have tried it with both http:// and https:// always the same error.

hansdez commented 3 years ago

I just wanted to add that I experienced exactly the same problems. First Url forwarder kept crashing. That is no longer the case, but I now too am getting the “No app found matching https://ichangedthisdomainname.nl/link/add?url=@url” error. This is literally for any url that I try to share with Url forwarder, so regardless of https/http. Needless to say: I can share urls to other appas.

I am using:

I loved the Url forwarder functionality (am really suffering without this working actually), so am very happy to help testing something or helping in any other way. Thank you for your work on this @daverix.

daverix commented 3 years ago

I managed to reproduce this now by leaving "replaceable subject" empty. Could you try adding something like "@subject" in that field (which I guess is empty for you)? I will try to release a new version tomorrow.

hansdez commented 3 years ago

I've just typed in "@subject" in that field (and didn't actually use the replaceable subject in the filter url) and can confirm that I then no longer have the problem. I can use this for now until the new release comes out! 😍 Thanks!

Maexotic commented 3 years ago

Everything works like a charm. Thank you!