grote / Transportr

Free Public Transport Assistant without Ads or Tracking
https://transportr.app
GNU General Public License v3.0
1.06k stars 189 forks source link

Reminder notifications without calender #437

Open rugk opened 6 years ago

rugk commented 6 years ago

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.)

spirosoik commented 6 years ago

can I get this to be implemented?

grote commented 6 years ago

@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?

spirosoik commented 6 years ago

@grote

Or do you mean to implement this yourself?

I mean implement this by myself.

grote commented 6 years ago

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.

grote commented 6 years ago

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.

ialokim commented 4 years ago

@spirosoik Are you still interested in contributing here?

rugk commented 4 years ago

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?

ialokim commented 4 years ago

"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.

Echolon commented 1 year ago

@spirosoik FYI

The Future of the Transportr App (?) https://github.com/grote/Transportr/issues/852