Project: titanium
Issue TIMOB-19397: Android: Push Notification Badge Number do not reflect to App icon
h6.Problem Reproduce: 1. Simple run the following code in a default app. (Register for token and subscribe to a channel) {code} var CloudPush = require('ti.cloudpush'); var Cloud = require('ti.cloud'); CloudPush.retrieveDeviceToken({	success: function deviceTokenSuccess(e) {	alert('Device Token: ' + e.deviceToken);	Cloud.PushNotifications.subscribeToken({	device_token: e.deviceToken,	channel: 'alert',	type: 'android'	}, function (e) {	if (e.success) {	alert('Success');	} else {	console.log('Error:\n' +	((e.error && e.message) || JSON.stringify(e)));	}	}); }, error: function deviceTokenError(e) { alert('Failed to register for push! ' + e.error); } }); CloudPush.addEventListener('callback', function (evt) { alert(evt.payload); }); {code} 2. Send a simple notification from dashboard, with badge: "+2". 3. Received the notification from device successfully. h6.Expect: The App icon should show badge 2. h6.Actual: The App icon did not change at all. h6.Note: Print the payload from device is like following: {code} {"android":{"sound":"none","alert":"test","vibrate":false,"badge":2}} {code} Seems the badge is delivered to device successfully, but the mobile did no handle it well,
Story points: 5