eclipsesource / tabris-plugin-firebase

A firebase plugin for Tabris.js
https://tabrisjs.com
BSD 3-Clause "New" or "Revised" License
6 stars 5 forks source link

pendingMessages order unstable #55

Closed cpetrov closed 5 years ago

cpetrov commented 5 years ago

Problem description

Sometimes, especially when many notifications are present (5+), pendingMessages are not sorted according to their order of arrival.

Expected behavior

Notifications should be sorted (oldest one first). Notification#when (preferably if available) or [StatusBarNotification#getPostTime()](https://developer.android.com/reference/android/service/notification/StatusBarNotification.html#getPostTime()) could be used to sort them.

Environment

Code snippet

Use the plugin example.