Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

APNS - PHP Codeigniter push notification Badge not increasing iOS7

I have been working in an iOS project with APNS (Apple Push Notification service) + PHP, Codeigniter library. But currently I am stuck with an issue – Badge count increment is not reflecting in mobile. I had searched enough google links, so dont send some links. I need an exact solution, can anyone help me as I am having a short timeline upfront?

send_push_notification($device_token,$message,$badge,$sound='default'); 
like image 337
KIRANDEEPU.K Avatar asked Jan 01 '26 09:01

KIRANDEEPU.K


1 Answers

You will get sloutions from here https://code.google.com/p/apns-php/wiki/License . Just integrate this library in to codeigniter .. Badge Counter will work in iOS7 and iOS8 ... We can easily use Set_badge($badge) . $badge count must be get from DB

like image 146
KIRANDEEPU.K Avatar answered Jan 03 '26 14:01

KIRANDEEPU.K



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!