Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time based notification system for attendance #50

Open
sjain30 opened this issue Dec 6, 2020 · 20 comments
Open

Time based notification system for attendance #50

sjain30 opened this issue Dec 6, 2020 · 20 comments
Assignees
Labels
enhancement New feature or request Hacktoberfest Hacktoberfest participants welcomed help wanted Extra attention is needed up-for-grabs

Comments

@sjain30
Copy link
Collaborator

sjain30 commented Dec 6, 2020

Implement a time-based notification system for attendance by scheduling notification at the end of class, reminding the user to mark their attendance in the app. Details such as subject name and end time are stored in the timetable database.

@sjain30 sjain30 added enhancement New feature or request help wanted Extra attention is needed up-for-grabs labels Dec 6, 2020
@sjain30 sjain30 pinned this issue Dec 6, 2020
@sakshampruthi
Copy link
Member

Try and use work manager for triggering notification. Incase the timings are updated cancel the previous job and initialize a new for the new input time

@AvishekThapa1997
Copy link

Is this issue still open?

@sjain30
Copy link
Collaborator Author

sjain30 commented Dec 14, 2020

@AvishekThapa1997 Yes, it's open. If you wanna work on it let us know, we'll assign you to it.

@AvishekThapa1997
Copy link

Yes i will work.

@AvishekThapa1997
Copy link

user will get the notification only when the app is on the screen or even in during when the app is in foreground?

@sakshampruthi
Copy link
Member

Every possible scenario on screen, in foreground or in background

@AvishekThapa1997
Copy link

there is no google-services.json file due to which app is not getting build.Any help would be appreciated.

@sjain30
Copy link
Collaborator Author

sjain30 commented Dec 14, 2020

@AvishekThapa1997 we can't share aur google services file due to security reasons. You would have to link it to your own firebase project

@sakshampruthi
Copy link
Member

@AvishekThapa1997 Please take look at Contributing guideline

@AvishekThapa1997
Copy link

Okay ...this is my first time i am trying open source so getting lots of questions

@sakshampruthi
Copy link
Member

sakshampruthi commented Dec 14, 2020

@AvishekThapa1997 No problem, connect with us on gitter for any further questions Gitter

@sakshampruthi
Copy link
Member

@AvishekThapa1997 Are you still working on this issue?

@AvishekThapa1997
Copy link

Assign it to someone else.

@sakshampruthi sakshampruthi added the Hacktoberfest Hacktoberfest participants welcomed label Oct 1, 2021
@rooparsh
Copy link

rooparsh commented Oct 2, 2021

@sakshampruthi Can you assign this issue to me, am looking into it .

@sakshampruthi
Copy link
Member

Hi @rooparsh could you describe your approach?

@rooparsh
Copy link

rooparsh commented Oct 2, 2021

Using the Endtime store in db, will schedule a notification using work manager.

@sakshampruthi
Copy link
Member

Work manager is generally used for deferred task and is not reliable to trigger the notification at the required time becuase of doze. It will be scheduled according to the phone maintenance time. I would suggest you to develop a solution using alarm manager and and every time its triggered, access room db with power manager and schedule another alarm using setExactAndAllowWhileIdle()

@rooparsh
Copy link

rooparsh commented Oct 2, 2021

@sakshampruthi We can use periodic work request. I am assuming the classes will be 1 hr long each. So after every 1 hr, a notification can be triggered. And at the end of the last period, we can cancel the job and schedule a new job for next day.
Assign this issue to me, will raise a PR , we can discuss the approach there.

@zubusoomro
Copy link

is this still open ?

@princessdharmy
Copy link

@sakshampruthi is this still open to work on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest Hacktoberfest participants welcomed help wanted Extra attention is needed up-for-grabs
Projects
None yet
Development

No branches or pull requests

6 participants