[英]How to set the application icon for push notifications using ionic?
I'm trying to set the default icon application changing the following .java file inside the PushPlugin directory. 我试图设置默认的图标应用程序,以更改PushPlugin目录中的以下.java文件。
plugins/com.phonegap.plugins.PushPlugin/src/android/com/plugin/gcm/GCMIntentService.java
But the changes won't stay. 但是变化不会持久。 Ionic generates this file automatically.
Ionic自动生成此文件。 I'm aware that you can change the badge on the icon of the application but I need to change the icon itself.
我知道您可以更改应用程序图标上的徽章 ,但是我需要更改图标本身。
Any ideas? 有任何想法吗?
正确的方法是派生插件,在派生中进行修改,然后从派生中重新安装插件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.