ChildMindInstitute / mindlogger-app

MindLogger (React Native) data collection app
Other
15 stars 6 forks source link

[Offline notifications] Multiple notifications are fired on the current day after scheduling events to repeat daily #1748

Open sergeysemenuta opened 3 years ago

sergeysemenuta commented 3 years ago

Steps to reproduce:

  1. Log in to the admin panel https://admin.mindlogger.org/ prodml@gmail.com // 123456
  2. Select any applet and go to the calendar
  3. Select an event and schedule it to repeat daily
  4. Set the beginning and end of time
  5. Set notifications
  6. Save the schedule
  7. Log in to the ap and refresh the home screen
  8. Turn off the Internet
  9. Wait for the notification
  10. Pay attention to the result

Actual result: Multiple notifications are fired on the current day after scheduling events to repeat daily. Note: The event was scheduled for 6 days and 6 notifications were fired Video: https://www.screencast.com/t/6edZ2axFc4P Expected result: Only one notification should be fired on the current day after scheduling events to repeat daily

Environment: Production Staging ML v 0.16.15 iPhone X // iOS 13.3 Phone 7 // iOS 13.4.1 Pixel 4XL//Android 11

natalia-muzyka commented 3 years ago

Reproducible also for non-repeated scheduled activities. ML v0.16.31 (staging) iPhone XR // iOS 14.3 Samsung Galaxy S7 Edge SM-G935FD // Android 8.0

natalia-muzyka commented 2 years ago

Still reproducible ML Pilot v0.16.57 iPhone 8 // iOS 12.3 Samsung Galaxy S7 Edge SM-G935FD // Android 8.0

eleonova-scn commented 2 years ago

Reproduced on September 22, 2022 in the same way as #1408.