I implemented push notification in my app and it is working when i install build from xcode but not working when i install app via a link generated by diawi.com why this is
The site install IPA with ad-hoc distribution.
For ad-hoc push notification, you need to use Apple's production push server, which is gateway.push.apple.com.
I think you are using sandbox push server when you install it from Xcode.