DAB-Co / jam-mobile

Mobile Flutter App of Jam
1 stars 0 forks source link

Shows notification on start up when queued messages arrive #102

Open atillaturkmen opened 2 years ago

atillaturkmen commented 2 years ago

Solution: Show notification if message is not older than 10 seconds. Also don't show notification in homepage.

atillaturkmen commented 2 years ago

Don't show notifications older than 1 seconds.

atillaturkmen commented 2 years ago

@DBC201 Bunun daha temiz bir yolu var mıdır?

DBC201 commented 2 years ago

jam-mqtt den timestamp yollayip ona gore background handler da halledilir

https://github.com/DAB-Co/jam-mqtt/issues/44

atillaturkmen commented 2 years ago

Sonradan aklıma geldi de mobilden daha önce bildirim gelip gelmediğini de tutabilirim. Diğer issue'yu (https://github.com/DAB-Co/jam-mqtt/issues/44) invalid diyip kapatıyorum.

atillaturkmen commented 2 years ago

e4b20fb7b451cb3c148c289e8ceefa51da7ba77a

DBC201 commented 2 years ago

@atillaturkmen son gelen mesajin telefondaki anlik timestamp ini ve timeout suresini tut(timeout suresi serverdan gelecek)

sonra uygulama acilinca son sure + timeout dan sonra gelmeyen mesajlar icin bildirim yollama nasil

atillaturkmen commented 2 years ago

@DBC201 bu low'da dursun şimdilik

DBC201 commented 2 years ago

https://github.com/DAB-Co/jam-mqtt/issues/21 bunu da kapatir