fetch notification message from app if push is hiding it
A RC setting in Push
is to fetch a push message from the client, which seems to work only as a RC enterprise feature https://docs.rocket.chat/guides/mobile-guides/push-notifications/push-notification-security - tested in the community version and there the push message is sent to the gateway and thus to Google / Apple.
If we restrict all push privacy options the push gateway is sending only You have a new message
:
I1006 13:08:45.828862 8 GooglePushModel.cpp:217] ee5765a24-4af0-4a6a-94ec-609457653e82 Google push data {"collapseKey":"push","data":{"body":"You have a new message","ejson":"{\"host\":\"https://scim-rc.dev.osalliance.com/\",\"messageId\":\"fmWcr3gH54WdT3W3P\",\"name\":\"\",\"notificationType\":\"message\",\"rid\":\"F4Phk7DtjDL8iF8BEw8p2TdrSyTFxZgDEr\",\"sender\":{\"_id\":\"w8p2TdrSyTFxZgDEr\",\"name\":\"Roland Alton Test\",\"username\":\"rasos\"},\"senderName\":\"\",\"type\":\"d\"}\n","message":"You have a new message","msgcnt":5,"title":""},"priority":10,"to":"fL4Vjkljlkhl76578658756875Z:APA9jklkljhkljhOwyx5JWQ07w5kQc6ZZI-hgjkh"}
So we would need to catch the messageID and fetch from the app the message in the background and show it as notification @jbuechele ?