检测到华为应用已从 phone 中卸载

Detect Huawei app is uninstalled from phone

我很难确定用户在发送推送时是否已将我的应用程序从他们的华为 phone 中删除。

我在看华为给的push docs, I do not see any error code for this case. Also, looking at the sample app,我也看不到

有谁知道在向华为发送推送以检测应用程序是否从 phone 中删除时我需要查找什么?

如果不再安装该应用程序,则会发布一个 receipt state,值为 2

If the app does not exist after the message is successfully sent to the device, the app has been uninstalled.

我的 ReceiptStatus.php 会采用这些值,但尚未实现。