Push Notification Badges does not reseting

0 votes

hi,

for me badge number is incremented.

for reseting the Badge valyu i tried both function

1) pushNotificationService.UpdatePushBadgeforDevice(userName, deviceToken, badges, new UnityCallBack());

2) pushNotificationService.UpdatePushBadgeforUser(userName, badges, new UnityCallBack());

but in this both function i am getting 

"httpErrorCode":"401", "appErrorCode":"1401", "message":"UnAuthorized Access", "details":"Client is not authorized"

plz help me i am doing any wrong.

thax

Vijay

asked Jun 25, 2014 in App42 Cloud API-BaaS by vijay.bhuva (10 points)

1 Answer

0 votes
Hi Vijay,

1. Have you intialize the App42 Instance by passing the APIKey & SecretKey ?

2. Kindly check your device time is correct while you are making an update push notification badges request.

Thanks.
answered Jun 25, 2014 by hs00105 (517 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...