I implemented my project for notification. I tested it in development Provisioning Profile (development cert), the device got the notification normally, but when I moved to the distribution mode
I have changed the ssl gateway to ssl://gateway.push.apple.com:2195 and the Provisioning to be in adhoc mode, my device did not receive any notification ):
What should I do to fix this issue ?
I have got the answer, the problem was from code sign: