richsage / RMSPushNotificationsBundle

NOT MAINTAINED! ⛔️ Push notifications/messages for mobile devices. Supports iOS, Android (C2DM, GCM), Blackberry and Windows Mobile (toast only). A Symfony2 bundle.
MIT License
321 stars 152 forks source link

unpack() in AppleNotificaion produces a notice #143

Open kix opened 7 years ago

kix commented 7 years ago

Here's the log output I get:

[2016-08-12 08:33:46] php.DEBUG: unpack(): Type C: not enough input, need 1, have 0 {"type":2,"file":"vendor/richsage/rms-push-notifications-bundle/RMS/PushNotificationsBundle/Service/OS/AppleNotification.php","line":260,"level":28928}
richsage commented 7 years ago

Is this reproduceable? A bit of research suggests it may be related to problematic data coming back from the remote server once in a while, that's all...