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

支付宝里 Notification.EXTRA_TITLE 和 Notification.EXTRA_TEXT 获取不到任何信息,其他APP 都正常 #111

Open
harryliuy opened this issue Sep 14, 2020 · 1 comment

Comments

@harryliuy
Copy link

支付宝可以收到消息推送。但就是拿不到内容,有人知道原因吗
Notification notification = sbn.getNotification();
Bundle extras = notification.extras;
title = extras.getString(Notification.EXTRA_TITLE, "");
content = extras.getString(Notification.EXTRA_TEXT, "");

@WeihuaGu
Copy link
Collaborator

按理说,在怎么着,只要有通知栏消息,Notification.EXTRA_TITLE title总应该能获得啊

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