Skip to first unread message

ibrahim bikdashi

Oct 8, 2019, 5:16:29 AM10/8/19
to MIT App Inventor Forum
hello i am creating an application that connected to Firebase the application goal is when the user user get popup message using onesignal he can check all the messages and the messages are separate to types broadcast messages and private messages.
the screen is divided to two layout:
layout one : restore the newer messages that the user received it (broadcast or private message)
layout two: restore all the messages(broadcast and private) that the user received .

the issue that i am facing is that when i send private message the user, received it in the layout one and layout two.
but when i send the broadcast message it only shown in layer 2 and layout one still showing the last private message..

Note: the messages are using same database name bu different bucket.

can some one give an idea or way to let the layer one shown the latest broadcast and private messages?

Reply all
Reply to author
0 new messages