oss2019 / instigo-android

InstiGo is an android app for the students and faculties of IIT Dharwad that provide a one stop solution for matters related to mess, academia and hostel.
https://oss2019.github.io
MIT License
7 stars 17 forks source link

No Notification in Android 9 related mess #34

Closed Anshul1507 closed 5 years ago

Anshul1507 commented 5 years ago

Describe the bug Regular notification is not showing in android version 9.

Smartphone (please complete the following information):

Additional context I tested in android 7.0, it is working fine.

sonusourav commented 5 years ago

Could you share any screenshot or gif?

Anshul1507 commented 5 years ago

Check my another issue, if your background service not running in bg in android>7, then there is no notification comes regarding mess

kushsaini10 commented 5 years ago

This issue was arising because Notification channels were not implemented, which are mandatory to display notifications in devices with Android Oreo and above. I have created a pull request #36 for this.

Anshul1507 commented 5 years ago

@kushsaini10 Yeah that is another thing , but the main bug in the app is team use only service for bg task instead of they have to implement this feature with the help of only Work Manager or Job-Scheduler that is only supported for bg task for android >8.0 in official doc. of android.

kushsaini10 commented 5 years ago

@Anshul1507 Can you point me where is this bg task written in the app.

Anshul1507 commented 5 years ago

I mean alarm manager service as bg service for regular notification on a mess time