bug: Tapping a secured push notification doesn't deep link correctly

Open
#6,224 10 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
react-native, typescript
Domain
mobile

Research direction

Start by tracing the React Native push-notification tap handling for notifications whose content is hidden from Apple and Google, then reproduce the flow on a supported device. Done means tapping the decrypted notification opens the correct message and highlights it, rather than only opening the room.

Written by the indexing model from the issue text.

Description

🐛 bug
Describe the Bug

Below

Steps to Reproduce
  • Enable "Hide message content from Apple and Google (and the Gateway, if enabled)" (screenshot below)
  • Receive a push notification
  • (Message was decrypted correctly by the and the content is shown properly on Notification Center)
  • Tap the notification

Image

Expected Behavior
  • App redirects to the message and highlight it
Actual Behavior
  • App is only able to redirect to the room
Rocket.Chat Server Version

any

Rocket.Chat App Version

4.59.0

Device Name

any

OS Version

any

Additional Context

No response

Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 15h
Merged PRs (30d)
29

Getting set up

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.

More from RocketChat/Rocket.Chat.ReactNative

All issues in RocketChat/Rocket.Chat.ReactNative

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.