current position:Home>How is the notification message implemented in Android studio app?

How is the notification message implemented in Android studio app?

2022-02-02 20:45:59 CSDN Q & A

android studio app How to implement the notification message in ?
Constantly or regularly refresh the server
Only when logging in , Read whether there are new messages ?




Refer to the answer 1:

If the real-time requirement of notification message is high , That is, the server has new data You need to notify the client immediately , Then you need instant messaging , The pressure of regularly refreshing service data is too great Is not workable




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202022045575484.html

Random recommended