ApplETS / Notre-Dame

The 4th generation of ÉTSMobile, the main gateway between the École de technologie supérieure and its students on mobile devices
Apache License 2.0
40 stars 11 forks source link

Notification when a grade is published - Android #29

Open apomalyn opened 3 years ago

apomalyn commented 3 years ago

Is your feature request related to a problem? Please describe. As a user, I would like to receive a notification when a new grade is published on SignETS

Additional context The ETS use AWS SNS to push events. In v3 we used this lib

AlexandreMarkus commented 3 years ago

https://github.com/aws-amplify/amplify-flutter/issues/319

AlexandreMarkus commented 3 years ago

https://firebase.flutter.dev/docs/messaging/server-integration/

zaclimon commented 3 years ago

Just leaving that out there since it will prove itself a little 🌶️ to work with: https://github.com/ApplETS/Notre-Dame-v3/wiki/Push-Notifications-(EN)

AlexandreMarkus commented 3 years ago

https://pub.dev/packages/aws_sns_api

apomalyn commented 3 years ago

Alright, after some work with @AlexandreMarkus we are blocked. Here is a resume of what we've learned.

MysticFragilist commented 2 years ago

image :eyes:

MysticFragilist commented 2 years ago

image Grrr 😠 it's an emotional rollercoaster at this point haha

MysticFragilist commented 2 years ago

Somebody made a tutorial for handling the android part! https://medium.com/iiitians-network/flutter-push-notifications-using-aws-sns-dac464c1edf0 we will be able to start this issue on android! 😄

apomalyn commented 2 years ago

@MysticFragilist if I may, before starting the development it could be interesting to finish and close #307 so the notifications will be tested thoroughly before going into production

MysticFragilist commented 2 years ago

yep! I won't personally do it now, but if any new member want to start on that, at least it's not blocked anymore ;)

MysticFragilist commented 1 year ago

Isn't blocked anymore, community built out a new aws sns flutter package https://pub.dev/packages/aws_sns_api. I'm going to work on notification form now on.

XavierPaquet-Rapold commented 1 year ago

Blocked. After investigation, the notification service used by signÉTS doesn't work anymore 😢

XavierPaquet-Rapold commented 6 months ago

En concertation avec le service TI de l'ÉTS, nous avons décidé de désactiver le AWS SNS pour les notifications. Cette décision a été prise, puisque les notifications ne sont plus une priorité pour le club et que le SNS donnait des erreurs de leur côté. Si cette tâche revient dans nos priorités, il va falloir contacter les services TI pour l'envoi de notification.