mateusz-bak / openreads

A mobile books tracker written in Flutter that respects your privacy.
GNU General Public License v2.0
867 stars 49 forks source link

[UPDATE_ERROR] Cannot update the app (+screenshot) #562

Closed elSolus closed 5 months ago

elSolus commented 5 months ago

There has been days since 2.7.0 released but there is no update on F-Droid. So I downloaded the apk package from here. Surprisingly, none worked! I tried all variants. Almost all give me the same error (see s.shot below)

... openreads-update-error ...

Why are updates on F-Droid so late? Well, why none of these packages work? Is there something I am missing?

exstntlmsnthrp commented 5 months ago

The app in Fdroid is built by them and not by the developer, so the timing is dependent on Fdroid.

The apps on Fdroid and GitHub are signed with different keys and are therefore incompatible with one another, even though they are the same version.

You need to uninstall the app you have and install the other one in order for it to work.

I'm using the GitHub version and I can confirm it works fine.

elSolus commented 5 months ago

@exstntlmsnthrp thanks a lot for the information. I didn't know that. Also, Tuta app was installed from F-Droid but when I tried to update next time from F-Droid itself, it said "signed with a different key" or something and did not update but it updated fine through Play St0re (through which it was never installed). Play St0re seems to have handled the signature difference better. Anyway that was just a side story.

Coming to the point, do you know for sure if cloud backups done through the app include covers also? I mean if I uninstalled and installed again and restore the backup, will it bring back covers also? Your input is appreciated. Thanks.

mateusz-bak commented 5 months ago

Hi @elSolus that's definitely the signing key issue. On GitHub release I use my private key, F-Droid uses it's own and on Google Play it's another key again(but that's optional, some apps can use the developer's private key.

I suggest then sticking to one release source. Also the conflict might be when want to install a specific architecture of the apk.

And yes, covers and challenges are exported in the cloud and local backups. In the CSV export they are not.

Closing the ticket, but please reach out if needed.

elSolus commented 5 months ago

Normally, I could have waited for F-Droid to publish the new update but as you may know I just translated the app into Punjabi, I was curious to see it in action and see where correction is needed as one can correctly translate when they know the actual context. But anyway, Thanks a ton, mate. God bless you.