dimtion / Shaarlier

Simple Android app for sharing links on Shaarli.
GNU General Public License v3.0
97 stars 11 forks source link

The app fails to share links #61

Open hydrargyrum opened 3 years ago

hydrargyrum commented 3 years ago

Every time I share a link to Shaarlier, it reports it fails. I retry and it says it succeeded.

Then I check on my shaarli account if the links were shared, but they were NOT shared at all. Unlike #60 and #57, even after retry, sharing NEVER works.

As is, this app is worse than useless.

In order of priority:

  1. fix what's failing so often
  2. continue displaying error notifications when it failed even after retry, now it gives the impression it worked after second try, and it prevents users from retrying
  3. show a detailed error message instead of just "failed to share", so users can know how to fix the error (unreachable network? bad instance url? bad shaarli version? etc.)
AngelTrs commented 2 years ago

Same issue with the app running on my Samsung S20 5G. Turning off battery optimization for the app seemed to help. I've had the issue with other apps and believe it's caused by the app attempting to make a network request while 'deep sleeping' in the background.

lotth commented 2 years ago

I have the same issue. Actually, I only succeeded in recording a single linkwith Shaarlier since I installed Shaarli. I saw no improvement with battery optimisation disabled.

Manja-S commented 2 years ago

I have the same issue as well, since updating from v. 0.10.4 to v. 0.12.1. Could you please fix this?

jimmyppi commented 1 year ago

It works when using API key instead of username/password, see https://github.com/dimtion/Shaarlier/issues/56

jimmyppi commented 1 year ago

@hydrargyrum Does it work saving the changes to the account when using api key instead of username/password or does it fail already there?

Trying again with the failed share did not work for me btw, I had to remove the notification and do a new share.

hydrargyrum commented 1 year ago

Actually, it works with the API key. Thank you for telling about it.

However, there is still a big trust problem in this app. The app always says the share was successful even when it didn't work. So every time you share a link, you still have to go to the web interface to check if it worked or not. If you still have to use the web interface everytime, why even use this app? Just use the web interface to share the link. As long as this app lies and isn't trustworthy, I won't use it.