But you should be able to test by changing the dev...
# confetti
m
But you should be able to test by changing the device date & hour to about 15 minutes before the session bookmarked.
j
cool, will try that
m
Remember to turn on the flag!
j
yeah, have that enabled
be great if you could do some sanity testing with version in play store too before I promote
m
Let me know how it goes.
I'm preparing dinner now but afterwards I can fix any bug you find. (:
Yes, also I think there was a merge conflict right? Would be nice to check if everything is working at runtime.
Notifications doesn't seem to be working for me in the internal version. What about you @John O'Reilly?
j
Only got chance to test just now and doesn't seem to be
does it work there locally with code from
main
?
m
It was working previously for me, yes. Not sure what happened.
j
was more wondering if maybe something changed after other PRs were merged....
could it be time zone issue I wonder
m
I'll have a look into that. 🤔
y
This should probably be using the conference timezone, and adjusting.
Copy code
private fun createIntervalRange(): ClosedRange<LocalDateTime> {
        val now = dateService.now()
        val timeZone = TimeZone.currentSystemDefault()
        val future = (now.toInstant(timeZone) + INTERVAL).toLocalDateTime(timeZone)
        return now..future
    }
j
I had tried changing my time here to match time zone but still didn't seem to trigger notification
@Marcello Galhardo suspecting following was cause of issues I was seeing.....checking again now https://kotlinlang.slack.com/archives/C051P2HUVKP/p1680940894361469
I'm seeing SessionNotificationWorker startWorkRequest being invoked.....but not doWork for some reason
m
Nice, thank you for this info. Will help debug later!