0

I'm currently working on PhoneGap and Pushwoosh and have some questions:

  1. Is it possible to change the text / icon of the notification in the status bar?
  2. If yes, is it also possible to show the notification only when you have received some specified data?
4

1 回答 1

0

您需要为此修改 SDK,因为遗憾的是,此功能开箱即用。如果您不介意进行一些 Java 编码,那将相当容易。

您可能需要修改此文件:

https://github.com/shaders/pushwoosh-phonegap-3.0-plugin/blob/master/src/android/src/com/arellomobile/android/push/PushGCMIntentService.java

这个功能:

私有静态无效生成通知(上下文上下文,意图意图,处理程序处理程序)

于 2014-01-20T16:25:16.633 回答