Notifications don't work on Huawei ( 为什么中国的安卓手机(没有gms)收不到消息提醒和来电提醒?)

我试了华为手机,怎么捣腾都没办法收到消息提醒。请帮忙看看怎么解决

This forum is for English conversation only. Please edit your message and change the text to English.

1 Like

I can use automatic translation, it’s fine. There is no strict policy that forum is English-only, we previously even had German and other sections and then just merged them in.

Automatically translated with DeepL message:

I tried my Huawei phone, but no matter what I did, I couldn’t get message notifications to work. Please help me figure out how to fix this.

The answer is that Delta Chat does not have Huawei push notifications, only FCM (Google) and Apple.

As a workaround for now you can try to allow the app to work in background, but I guess Huawei phones kill the application, it is at the top of Huawei | Don’t kill my app!

If this does not work, unfortunately the only way to fix this would be for us to add support for Huawei push notifications to the notification server.

2 Likes

It was also posted in the wrong category, though.

However, based on the lack of response, how can you be sure the poster understood your English response? Are we expected to paste in each question in deepl and then paste our answers in deepl again in the other direction before posting?

Yes, I moved it to “Mutual help”.

I am replying in English because I cannot check if translation is good enough. This way everyone who cannot read English can try multiple translators or ask someone to translate.

5 Likes

尝试使用第三方通知服务,例如ntfy。

everything works fine through the translator

well, personally I will just ignore anything that is not English here, it makes it hard to discuss and search if there is a mix of languages

Even if it is not a strict policy, using English as common language is encouraged I would say, and the reason we removed the German and Spanish categories was exactly to discourage posting in other languages because it was hard to follow/understand and often questions that are not in English got ignored or few replies, and also spam the threads list for people that don’t understand the language and just want to see the list of English posts

in mastodon there is a “translate” button for posts, I wonder if this forum has such plugin, then it could be more manageable

1 Like

I find it easier if everyone writes the language(s) they are confident in. Then it will always be possible to translate it. If someone is writing in a language they do not know, with or without the help of automated tools, the result may be unparsable. Example:

Requiring people to post bilingual texts is not preferable to having a forum bot that adds translations on request.

There are posts in many different languages on these forums and it was reasonable for the original poster of this thread to assume that posting in a non-English language was fine. I think it is fine.

yes, but it will be better if the creator of the post is the one using a translator and providing the translation to English and then original post below, instead of making everyone to have to translate the post, I have seen some people doing this warning “this is an auto-generated translation”

but I stop discussing offtopic in this thread now :sweat_smile:

我看得英文,但我就是不想写英文。论坛不是专为英文国家开设的,我希望中文用户和我交流,因为只有中文使用者有我这样的问题。你们有GMS根本不需要理会

1 Like

请用中文回复我,谢谢

抱歉,这位同胞,刚刚我用英语回复了,所以我用中文重新回复一遍
首先现在的华为手机都预装鸿蒙操作系统,与谷歌的aosp项目完全不搭边
并且由于中国大陆的网络封锁,我们无法使用谷歌的所有服务,所以华为手机也不会预装gms,你可以在设置-通知中打开后台连接和使用强制后台连接
我也希望第二次社会主义革命能早日成功,打破中国这堵可耻的墙

太感谢你了。但是华为手机nova里面即使使用后台链接和强制后台连接,也没办法收到信息通知。小米就可以。但是小米安装时候就出问题了,直接不让安装,后面是进了开发者模式里面关掉系统优化才把软件装上去。
我也看到了很多人讨厌用中文发帖,但是考虑到自己好久没写英文,怕英文写出来表达的意思变了。所以还是坚持用中文写帖子。
也希望更多中国人参与进来,一起把这堵阻挡文明的墙推翻。宪法赋予公民言论自由的权力不容侵犯。
如果这个软件能重视中国用户,相信很快能发展起来。中国有14亿人,有5亿人有通信自由的需要。
我发现tox这个端到端的通信软件,他的消息通知就做得很好。希望deltachat可以借鉴。

1 Like

thank you ! I will try to use English nsxt post.

我现在正在用华为nova10回复你,哈哈😄

我刚刚去看了关于tox,这真是一个宝藏,谢谢
ericyuanchina@outlook.com是我的电子邮件地址,我们值得交个朋友!

We had a PR to add Huawei support to Android, but never added the notification server support for it and eventually closed it: implement Huawei push notifications by adbenitez · Pull Request #3646 · deltachat/deltachat-android · GitHub

The problem with it is that it requires adding proprietary dependency from Huawei Maven repository, so we cannot do it in our applications released to F-Droid and Google Play, and will need to maintain yet another “flavour” (variant) of the app for this.

More realistic path forward is adding UnifiedPush support to Delta Chat (Implement push notifications through unifiedpush) and then someone releasing an UnifiedPush distributor that uses AppGallery Connect, similar to how gCompat-UP distributor uses Google FCM: gCompat-UP (Google) - Android | UnifiedPush

This way Delta Chat will not have to maintain yet another push notification service connection and Huawei dependency will be contained in a separate “distributor” application.