Order iOS chat notifications in chronological order



  • Xx_SuPeRsLaYeR_xX

    not possible, ios doesn't allow this. read up on capabilities before making suggestions next time.

    コメントアクション Permalink
  • Tristan

    Although there are no exact ways to explicitly reorder on iOS, I believe there is a way to provide more context to users using UNNotificationServiceExtension and a bit of the rich notification features. Apollo (https://apolloapp.io/) does something similar where in it provides a contextual view of the reply that is pushed to the user where it shows the tree of comments above it upon force touch. A potential implementation idea would be:

    - For every message in a server, check for the list of messages that the user has impressed on.

    - If the user has already received a push for the unseen messages, send a silent notification to clear the notifications for those messages.

    - Send a new push with the newest message, where the force touch interaction renders a UI of all the messages that the user hasn't seen yet.

    That's just one hacky method that I thought off the top of my head, but I'm sure the team would be able to come up with a more elegant solution depending on their current systems

    コメントアクション Permalink