TechbeeAT / jtxBoard

jtx Board allows you to manage your Journals (like meeting minutes), Notes and Tasks in one Android app. The app is compatible with the iCal standard (RFC5545) and is integrated with DAVx5 to allow the synchronisation of entries through CalDAV.
https://jtx.techbee.at/
GNU General Public License v3.0
334 stars 9 forks source link

Widget never updates #1412

Closed spatnynick closed 2 months ago

spatnynick commented 2 months ago

Hi, nice app, unfortunatelly the widget never updates automatically on my device. I have to tap the widgets title, it opens the app and widget is then also updated.

DAVx5 Sync set to 2 hours, with OpenTasks the problem didn't occur. Battery optimizations disabled,

Galaxy S21 5G Android 13 jtx Board 2.07.06.gplay

br Bohuslav

patrickunterwegs commented 2 months ago

Hi @spatnynick , thanks and sorry for the late reply, I'll have a look at it. Basically the widget should update itself, this is a functionality provided by the library. Additionally the widget update is triggered on sync. Are you working mainly in the widget and hardly ever open the app? (Using only synchronized entries from a server)

spatnynick commented 2 months ago

Hi Patrick, exactly, I maintain the tasks on my computer and want to have the widget on handy mainly as a reminder, so I trigger jtxBoard app only rarely. The tasks are synced every 30 min with DAVx5 - but this sync doesn't trigger widget update in my case... otherwise it would be sufficient br Bohuslav

Am Di., 28. Mai 2024 um 11:19 Uhr schrieb Patrick Lang < @.***>:

Hi @spatnynick https://github.com/spatnynick , thanks and sorry for the late reply, I'll have a look at it. Basically the widget should update itself, this is a functionality provided by the library. Additionally the widget update is triggered on sync. Are you working mainly in the widget and hardly ever open the app? (Using only synchronized entries from a server)

— Reply to this email directly, view it on GitHub https://github.com/TechbeeAT/jtxBoard/issues/1412#issuecomment-2134736821, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZMNP7IWALQJRFBNQQ5JX3ZERD3NAVCNFSM6AAAAABHZPPD5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZUG4ZTMOBSGE . You are receiving this because you were mentioned.Message ID: @.***>

patrickunterwegs commented 2 months ago

Thanks @spatnynick . To further narrow this down: When you open the app, does it at least work for some time or does the widget just never udpate?

patrickunterwegs commented 2 months ago

Hi @spatnynick ! I have made an upgrade of the widget library and I'll add it to the upcoming beta. As they have made a few improvements, I hope they also made some improvements on the refresh-mechanisms. The code basically looks good, the widget should always get refreshed when an entry gets changed by the sync. However, I have also seen in the emulator that things get stuck for no reason sometimes (which was also hard to reproduce). So I hope that this new widget library version will fix a few things. I'll close this ticket here. It would be great if you could observe this issue further once you have the new version and give some feedback!

spatnynick commented 2 months ago

Hi Patrick, thanks a lot! I would like to test it, unfortunatelly I don't know how to compile it.. I need to install sdk und gradle, right? or could you possibly compile the apk for me?

Am Di., 28. Mai 2024 um 22:40 Uhr schrieb Patrick Lang < @.***>:

Closed #1412 https://github.com/TechbeeAT/jtxBoard/issues/1412 as completed via #1437 https://github.com/TechbeeAT/jtxBoard/pull/1437.

— Reply to this email directly, view it on GitHub https://github.com/TechbeeAT/jtxBoard/issues/1412#event-12962984390, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZMNP5YRYVZYXAXJSKMTTLZETTUDAVCNFSM6AAAAABHZPPD5KVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSHE3DEOJYGQZTSMA . You are receiving this because you were mentioned.Message ID: @.***>

patrickunterwegs commented 2 months ago

Hey @spatnynick , sure, no worries, I have just uploaded a new beta: https://github.com/TechbeeAT/jtxBoard/releases/tag/v2.7.9-beta01 There you can find the apk to download and install. You could also use tools like Obtainium if you would like to take more apk-files from the developers repository in the future.

And a hint: if you really want to compile a version, the easiest way is to install Android studio and connect a device. But if you're not familiar with that, I'd recommend to just stick with the apks from Github ;-)

Anyhow, it would be great if you could have a look and test a bit!

spatnynick commented 1 month ago

hi Patrick, tested, imho widget works very well in the 2.7.9-Beta01. it's updated regularly, thank you!

patrickunterwegs commented 1 month ago

Great, thank you for the feedback =)