objective c - Badge value always returns 0 using Parse in IOS -


i using parse push notification ios. when using

  pfinstallation *currentinstallation = [pfinstallation currentinstallation]; 

currentinstallation has valid data information in installation table badge value 0, when have checked in parse website, has value greater 0.

any idea?

pfinstallation *currentinstallation = [pfinstallation currentinstallation]; [currentinstallation setdevicetokenfromdata:_devicetoken]; [currentinstallation saveinbackground]; 

if delete installation on parse web console happens. avoid this, need uninstall , reinstall application on phone, , should start working again


Comments