I want to implement notifications for my android app(Titanium framework) but I am not sure on how to implement.
I have a lms website. If a faculty creates an assignment in a course, all the students of that course has to get notifications.
I want to do it in the below way:
- I will collect the device tokens and map with the student id when a student login in my app(lms) from the device
- I will send a notifications to all device id's of students in the respective course
Is it a right way to do it?
Also I am confused about device id vs user session based notifications in Titanium. Can you please tell me which one I should use in this scenario.