我使用了谷歌云消息api,并在我的服务器端使用php和curl方法集成它。我也收到了通知消息,
但问题是我无法增加通知的数量。我知道我必须跟踪客户端每个用户的未读消息。 但我不知道哪个参数更改了我正在使用的消息数组中的通知计数...请检查以下数组并告诉我哪个参数通过应用程序图标发送通知计数。类似于ios推送通知中的徽章参数
$msg = array (
'message' => 'Test message from app',
'title' => 'This is a title. title',
'vibrate' => 2,
'sound' => 'beep.wav',
'largeIcon' => 'large_icon',
'smallIcon' => 'small_icon',
'msgcnt'=>3
);