habitica-android
habitica-android copied to clipboard
Widgets Don't Refresh Until App Opened
Describe the bug Widgets only refresh when app is opened.
To Reproduce Update todo list from widget or another device. The widgets will not update their state to reflect this until the app is opened.
Expected behavior Widgets update automatically as the account is accessed.
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
- Device: Google Pixel 2
- OS: Android 10
- App Version: 2.2
- Habitica Username: NavReth
Additional context I am using Nova Launcher, but I am not sure how much that would affect things as Todoist and other widgets work perfectly.
I was able to reproduce this on multiple android devices. (Main one listed below) Device: samsung Galaxy Note8 Android Version: 28 AppVersion: Version 2.2.2 (2285) User ID: 2e595cc8-a584-4388-be9b-09d761a377b6 Level: 78 Class: rogue Is in Inn: false Uses Costume: true Custom Day Start: 2 Timezone Offset: 300
Able to reproduce this Galaxy S8 Plus.
This happened when I had Medium Power Savings mode turned on; was able to correct by turning the setting off.
additional details/possible workaround from a report:
Device: samsung SM-N981U Android Version: 30 AppVersion: Version 3.3.2 (3041) User ID: 2a238c99-e658-4fad-b5cf-300374d8fdee Level: 53 Class: healer Is in Inn: false Uses Costume: false Custom Day Start: 3 Timezone Offset: 360 Details:
My stats widget isn't linking to my habitica app. It doesn't open the app when I click on it and its doesn't pull any data like the experience, health or avatar from the app. It's as if the widget can't access the variables for these.
I updated, cleared the data and cache, and reinstalled the app in that order and it's still not working.
I then decided to go click through all the buttons in the app as a regression test to see if I could initialize a variable of some sort.
It had no effect until I got to the authentication settings. I clicked on it and clicked out and the data showed up. So if anything I found a work around for you. If I delete the widget it unlinks, then I go look at my authentication settings and the data shows again. Good luck squishing the bug!