RocketChat / RocketChat/Rocket.Chat

Push notification bug on IOS

Open
#27,133 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

image

If you activate the switch to receive the whole message text in the push notification settings, then you receive only a notification, that you got a message, but no text.
If you turn it off like on my screenshot, then you get the notification and the message text.

Steps to reproduce:
  1. Go to Admin -> Push Notifications -> Privacy
  2. Activate the 3rd switch "Fetch full message content from the server on receipt"
  3. Then you can't receive message text in the IOS notification anymore. On Android you receive the full text, no matter if the switch is active or not.
Expected behavior:

Switch is on and you receive full message text notification on Android and IOS.

Server Setup Information:

Version 5.1.0
Deployment ID 3ZGvzNj9SiZEouZR2
Apps Engine Version 1.34.0
Node Version v14.19.3
Database Migration 281 (September 8, 2022 1:52 PM)
MongoDB 4.4.13 / wiredTiger (oplog Enabled)

Commit Details
HEAD: (34df27ac1)
Branch: HEAD
PID 1

Client Setup Information
  • iPhones with IOS

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on an iPhone using Admin → Push Notifications → Privacy with “Fetch full message content from the server on receipt” enabled, and compare the result with Android. Trace the iOS push-notification handling from that setting; done means the iOS notification includes the full message text when the switch is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.