Android 谷歌云消息通知计数

Android 谷歌云消息通知计数,android,google-cloud-messaging,android-notifications,phonegap-pushplugin,Android,Google Cloud Messaging,Android Notifications,Phonegap Pushplugin,我使用了google云消息api,并在服务器端使用php和curl方法将其集成。我也收到了通知信息 但问题是我无法增加通知的计数。我知道我必须在客户端跟踪每个用户的未读消息。 但是我不知道哪个参数会更改我正在使用的消息数组中的通知计数。。。请检查下面的数组,并告诉我哪个参数通过应用图标发送通知计数。类似于ios推送通知中的badge参数 $msg = array ( 'message' => 'Test message from app',

我使用了google云消息api,并在服务器端使用php和curl方法将其集成。我也收到了通知信息

但问题是我无法增加通知的计数。我知道我必须在客户端跟踪每个用户的未读消息。 但是我不知道哪个参数会更改我正在使用的消息数组中的通知计数。。。请检查下面的数组,并告诉我哪个参数通过应用图标发送通知计数。类似于ios推送通知中的badge参数

     $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
           );

msgcnt
设置计数。看到插件和文档了吗?没有,msgcnt实际上只在通知栏中设置计数,我的意思是在显示每个通知的单一comman页面中。我希望msgcnt显示在应用程序图标上,它总是显示1而不是递增。我不理解“每个通知都显示在一个comman页面上”