onnela-lab / beiwe-android

Beiwe is a smartphone-based digital phenotyping research platform. This is the Beiwe Android app code. The Beiwe2 app is also available on the Google Play store to use with open source builds of the Beiwe backend.
https://www.beiwe.org/
BSD 3-Clause "New" or "Revised" License
26 stars 16 forks source link

Android App 3.6.0 Release is now available #96

Open biblicabeebli opened 1 month ago

biblicabeebli commented 1 month ago

This build includes:

Download link: ~Beiwe-3.6.0-beta-commStatsCustomUrl-release.zip~ ~Beiwe-3.6.0-rc1-commStatsCustomUrl-release.zip~ ~Beiwe-3.6.0-rc2-commStatsCustomUrl-release.zip~ ~Beiwe-3.6.0-rc3-commStatsCustomUrl-release.zip~ Beiwe 3.6.0 has been released, it can be found at the link on the bottom-right corner of your study's Beiwe webpage.

biblicabeebli commented 1 month ago

This is a Beta release, it may have bugs, please report any you encounter on this thread.

biblicabeebli commented 1 month ago

(RC1 was compiled from a clean development environment and includes a new bug fix.)

biblicabeebli commented 1 month ago

(RC2 update)

biblicabeebli commented 4 weeks ago

Still able to replicate on RC2

UPDATE: interestingly when I take the [audio survey] through the notification (as opposed to the in-app survey queue) it does not seem to replicate. I'll retest this and provide an update when I can...

will have to work out if that is a random Thing or if it is always the case. fwiw I was only replicating by tapping the survey's button in the app.

biblicabeebli commented 2 weeks ago

OK I think I found the bug! will post a new RC build later today, I'm keeping some print statements in case I screwed something up for this RC, the actual uploaded release will not have those debugging statements.

biblicabeebli commented 2 weeks ago

from the changelog

Fixes a bug where a survey notification would be instantly reinstantiated after the survey
was completed if the survey had no weekly scheduled times and was triggered via the internal
app timers. This could occur on relative and absolute schedule surveys because when the
"buffer" of "this week's surveys" encounters an absolute or relative scheduled survey with
nothing in the next week... it sends an appropriately empty schedule listing for that survey.
In this situation the app does not update the tracked "trigger alarm time" timestamp when a
survey is completed, so a survey trigger "in the past" was always found when the app checked.
biblicabeebli commented 2 weeks ago

@hydawo I just posted RC3

biblicabeebli commented 2 weeks ago

I have now confirmed that the fix resolves the issue on the test device originally exhibiting that bug.

biblicabeebli commented 2 weeks ago

3.6.0 is live