mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-31 22:42:51 +08:00
add API setBadgeNumber for android
This commit is contained in:
parent
7dd7a4a86c
commit
a26822b894
@ -475,10 +475,7 @@ JPushPlugin.prototype.setMaxGeofenceNumber = function(maxNumber) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
//设置角标
|
//设置角标
|
||||||
=======
|
|
||||||
>>>>>>> a9b5af06a50b0f0fe2efaeb1b88eaf8dc15f805e
|
|
||||||
JPushPlugin.prototype.setBadgeNumber = function(badgeNumb) {
|
JPushPlugin.prototype.setBadgeNumber = function(badgeNumb) {
|
||||||
if (device.platform === "Android") {
|
if (device.platform === "Android") {
|
||||||
this.callNative("setBadgeNumber", [badgeNumb], null);
|
this.callNative("setBadgeNumber", [badgeNumb], null);
|
||||||
|
Loading…
Reference in New Issue
Block a user