Skip to content
This repository has been archived by the owner on Dec 29, 2024. It is now read-only.

支付宝里 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants