Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android版本消息格式为markdown时,悬浮通知和通栏不会渲染 #38

Closed
yaojia25 opened this issue Jan 29, 2022 · 1 comment

Comments

@yaojia25
Copy link

机型小米10 Pro,当消息类型为markdown时,悬浮通知和通知栏里不会渲染markdown,显示的是消息源码,只有在应用里面才会渲染显示。

不知道这个可不可以优化。

@easychen
Copy link
Owner

悬浮通知和通知栏是不能使用Markdown的,较好的解决方案是在 text中传纯文本,在 desp 中传 markdown。这样标题和内容显示都Ok。

PS:Android 目前显示 desp 有点问题,稍后修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants