PLIN-2553 Push notification compitable with ios 7 and ios 8 sdk.

N-2553 Push notifications not working on iOS 8.0