Home > Software engineering >  Is there any alternative to notification notify device but without sending native notification?
Is there any alternative to notification notify device but without sending native notification?

Time:06-09

Example: I have mobileDevice1 / mobileDevice2 / laptop

Goal: I need to notify mobileDevice1 with some message by sending it from mobileDevice2 and laptop. The message need to passively appears (listens) on mobileDevice1 without any interaction like pressing update button. But the thing here it must be not a regular push notification because this message must not appear in the mobileDevice1 notifications list. It can appear in some view for example regular recyclerView but not in native device notifications list

Is there a way to do that way?

CodePudding user response:

It sounds like you want to send a data-only message, which is always delivered to the onMessageReceived method in your application code and never displayed by the system.

  • Related