add API setBadgeNumber for android

This commit is contained in:
1060420895@qq.com 2020-04-10 15:41:35 +08:00
parent 7dd7a4a86c
commit a26822b894

View File

@ -475,10 +475,7 @@ JPushPlugin.prototype.setMaxGeofenceNumber = function(maxNumber) {
}
};
<<<<<<< HEAD
//设置角标
=======
>>>>>>> a9b5af06a50b0f0fe2efaeb1b88eaf8dc15f805e
JPushPlugin.prototype.setBadgeNumber = function(badgeNumb) {
if (device.platform === "Android") {
this.callNative("setBadgeNumber", [badgeNumb], null);