RocketChat / RocketChat/Rocket.Chat.ReactNative

Push Notifications solution for Android applications on devices in China || 中国Android应用推送解决方案

Open
#5,342 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Title

Push Notifications solution for Android applications on devices in China
中国Android应用推送消息通知解决方案

Description:

In fact, the Android client used in China cannot achieve the push effect due to network reasons and the difficulty of implementing the push notification technology.
事实上,国内使用的Android客户端由于网络原因以及推送通知技术实现困难等原因,无法达到推送效果。

Environment Information:
  • Rocket.Chat Server Version: 6.4.4
  • Rocket.Chat App Version: 4.42.2
  • Device Name: XIAOMI MIX3
  • OS Version: MIUI12
Expected behavior:

In mobile devices in China, the client is used to notify when a new message is received

Actual behavior:

In fact, the Android client used in China cannot achieve the push effect due to network reasons and the difficulty of implementing the push notification technology.

Additional context:

I looked at push solutions from other Android apps,
The name of the application is APKPure.
Some conjectures and suggestions:
The way APKPure always runs on the backend,
Created a top-level display (similar to a floating window),
This method is used to realize the message notification in the extreme environment.
I hope that the Rocket.chat Android client and similar apps can follow this approach,
To meet this very necessary and urgent general need.
Hopefully, it can be added to the app as an optional feature.
In fact, it would be possible if the email SMTP service also supported online notifications,
(Currently only offline message mailbox reminders are supported)
Because I usually stay logged in on my computer, but I need online email alerts on my phone.
Many thanks to everyone who contributes to the open source project.

我参考了其他安卓应用的推送解决方案,
这个应用名称是 APKPure 。
提出一些猜想和建议:
APKPure 以后台始终保持运行的方式,
创建了一个顶层显示(类似于悬浮窗),
利用这个方法实现了在极端环境下的消息通知。
我希望Rocket.chat的安卓客户端和同类应用,可以参考这个方法,
来满足这个非常必要且急切的普遍需求。
希望可以作为可选功能被添加到应用中。
实际上如果邮箱SMTP服务同时支持在线消息提醒也是可行的,
(目前只支持离线消息邮箱提醒)
因为我通常在电脑端保持登录,但是手机端就需要在线邮箱提醒了。
非常感谢所有为开源项目做出贡献的人们。

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

The issue names the Rocket.Chat React Native Android app, MIUI12, push notifications, and offline email reminders, but no files, tests, or entry points. Start by tracing the existing Android notification behavior and reviewing how the current email reminder flow works. Done would require an agreed China-compatible notification approach implemented as an optional feature and verified on the described device environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native, typescript
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.