Open rugk opened 6 years ago
can I get this to be implemented?
@spirosoik sure you can. Implementing this feature is roughly 10 hours of work. At the market rate of $80 this would be $800 for this feature. This doesn't even include long-term maintenance which I guess you want to have as well.
Or do you mean to implement this yourself?
@grote
Or do you mean to implement this yourself?
I mean implement this by myself.
I misunderstood you. Sorry for the quote then.
Sure, you can implement it. To be sure it will be merged, please sketch out a rough plan for implementation here. Especially interesting is how you want to reliably trigger alarms across various versions of Android.
Documentation AlarmManager:
Documentation WorkManager:
The latter is more modern and probably better. You need to be careful about Doze mode:
Alarms do not fire when the device is idle in Doze mode. Any scheduled alarms will be deferred until the device exits Doze.
@spirosoik Are you still interested in contributing here?
While we are at it: A "reminder" feature may also be set for specific bus/tram/train stops, i.e. so you do not miss your train? Maybe even better make it a real alarm like the clock application does, so when you sleep or so you get waked up at your specified destination/changeover.
Or is this a new issue and I should open a new one for this?
"reminder" feature may also be set for specific bus/tram/train stops
That would be nice, but would require #399 to be implemented first so that we won't notify the user too early (or too late). Also this would require background activity to track the current position and update realtime information while the app is not in the foreground.
@spirosoik FYI
The Future of the Transportr App (?) https://github.com/grote/Transportr/issues/852
Let's consider the following use case:
Currently I can: Import route into the Android calender.
IMHO, this is not a good solution. I should be able to do this without messing up my calender and importing things there.
So maybe just implement a small "reminder" feature in Transportr, so it can remind me with a simple notification. (and I also see it is from Transportr, in contrast to the Android calendar e.g.)